Skip to content

Shekar-77/Eagleeye-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EaglEye Frontend

A modern Next.js application with Redux state management, featuring a chat interface with image upload capabilities, particle animations, and a comprehensive dashboard.

πŸ“‹ Table of Contents

πŸ“ Project Structure

isro_frontend/
β”œβ”€β”€ public/                      # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                     # Next.js App Router
β”‚   β”‚   β”œβ”€β”€ globals.css         # Global styles
β”‚   β”‚   β”œβ”€β”€ layout.tsx          # Root layout component
β”‚   β”‚   β”œβ”€β”€ page.tsx            # Chat page
β”‚   β”‚   β”œβ”€β”€ StoreProvider.tsx   # Redux store provider
β”‚   β”‚   └── home/
β”‚   β”‚       └── page.jsx        # Homes page
β”‚   β”‚
β”‚   β”œβ”€β”€ components/             # React components
β”‚   β”‚   β”œβ”€β”€ chat/              # Chat-related components
β”‚   β”‚   β”‚   β”œβ”€β”€ ChatWindow.tsx       # Main chat interface
β”‚   β”‚   β”‚   β”œβ”€β”€ ImageUploader.tsx    # Image upload component
β”‚   β”‚   β”‚   β”œβ”€β”€ ImageViewer.tsx      # Image display component
β”‚   β”‚   β”‚   └── MessageBubble.tsx    # Individual message component
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ home/              # Home page components
β”‚   β”‚   β”‚   β”œβ”€β”€ Dashboard.jsx        # Main dashboard
β”‚   β”‚   β”‚   β”œβ”€β”€ FAQSection.jsx       # FAQ section
β”‚   β”‚   β”‚   β”œβ”€β”€ Footer.jsx           # Footer component
β”‚   β”‚   β”‚   β”œβ”€β”€ Header.jsx           # Header component
β”‚   β”‚   β”‚   β”œβ”€β”€ HeroSection.jsx      # Hero section
β”‚   β”‚   β”‚   β”œβ”€β”€ MaximizeSection.jsx  # Feature showcase
β”‚   β”‚   β”‚   β”œβ”€β”€ TestimonialSection.jsx  # User testimonials
β”‚   β”‚   β”‚   └── TrustedSection.jsx   # Trust indicators
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ layout/            # Layout components
β”‚   β”‚   β”‚   β”œβ”€β”€ Header.tsx           # App header
β”‚   β”‚   β”‚   β”œβ”€β”€ RightSidebar.tsx     # Right sidebar
β”‚   β”‚   β”‚   β”œβ”€β”€ SessionInitializer.tsx  # Session management
β”‚   β”‚   β”‚   β”œβ”€β”€ SettingsModal.tsx    # Settings modal
β”‚   β”‚   β”‚   └── Sidebar.tsx          # Left sidebar
β”‚   β”‚   β”‚
β”‚   β”‚   └── ui/                # UI utility components
β”‚   β”‚       β”œβ”€β”€ ConfirmationModal.tsx  # Confirmation dialogs
β”‚   β”‚       └── ParticleBackground.tsx # Particle effect background
β”‚   β”‚
β”‚   β”œβ”€β”€ lib/                   # Core library code
β”‚   β”‚   β”œβ”€β”€ hooks.ts          # Custom React hooks
β”‚   β”‚   β”œβ”€β”€ store.ts          # Redux store configuration
β”‚   β”‚   β”œβ”€β”€ utils.ts          # Utility functions
β”‚   β”‚   └── features/         # Redux features
β”‚   β”‚       β”œβ”€β”€ api/
β”‚   β”‚       β”‚   └── apiSlice.ts      # RTK Query API configuration
β”‚   β”‚       └── chat/
β”‚   β”‚           └── chatSlice.ts     # Chat state management
β”‚   β”‚
β”‚   └── types/                # TypeScript type definitions
β”‚       └── index.ts          # Shared types and interfaces
β”‚
β”œβ”€β”€ eslint.config.mjs         # ESLint configuration
β”œβ”€β”€ next.config.ts            # Next.js configuration
β”œβ”€β”€ next-env.d.ts            # Next.js TypeScript declarations
β”œβ”€β”€ package.json             # Project dependencies
β”œβ”€β”€ postcss.config.mjs       # PostCSS configuration
β”œβ”€β”€ tsconfig.json            # TypeScript configuration
β”œβ”€β”€ vercel.json              # Vercel deployment config
└── README.md                # This file

✨ Features

  • Modern Next.js 16: Utilizes the latest App Router architecture
  • Redux Toolkit: Centralized state management with Redux Toolkit and RTK Query
  • Chat Interface: Interactive chat with message history and image support
  • Image Upload: Upload and view images within conversations
  • Particle Animations: Beautiful background particle effects
  • Responsive Design: Layout with Tailwind CSS
  • TypeScript: Full type safety across the application
  • Session Management: Persistent chat sessions with unique identifiers
  • Modal System: Settings and confirmation modals

πŸ”§ Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js: Version 20.x or higher (LTS recommended)
  • npm: Version 10.x or higher (comes with Node.js)
    • Alternatively, you can use yarn, pnpm, or bun

To check your current versions:

node --version
npm --version

πŸ“¦ Installation

  1. Clone the repository (if you haven't already):
git clone https://github.com/red345686/isro_frontend.git
cd isro_frontend
  1. Install dependencies:
npm install

Or using alternative package managers:

# Using Yarn
yarn install

# Using pnpm
pnpm install

# Using Bun
bun install

πŸš€ Running the Application

Development Mode

Start the development server with hot-reload:

npm run dev

Or using alternative package managers:

yarn dev    # Using Yarn
pnpm dev    # Using pnpm
bun dev     # Using Bun

The application will be available at:

πŸ—οΈ Building for Production

Build the Application

Create an optimized production build:

npm run build

This command:

  • Compiles TypeScript to JavaScript
  • Optimizes React components
  • Generates static pages where possible
  • Minifies and bundles assets
  • Creates a .next directory with the production build

Start Production Server

After building, start the production server:

npm start

The production server will run at http://localhost:3000

Run Linting

Check code quality with ESLint:

npm run lint

πŸ› οΈ Technologies Used

Core Framework

  • Next.js 16.0.3: React framework with App Router
  • React 19.2.0: UI library
  • TypeScript 5.x: Type-safe JavaScript

State Management

  • Redux Toolkit 2.10.1: State management
  • React Redux 9.2.0: React bindings for Redux
  • RTK Query: Data fetching and caching

Styling

  • Tailwind CSS 4.x: Utility-first CSS framework
  • PostCSS: CSS processing
  • clsx & tailwind-merge: Conditional class utilities

UI Components

  • Lucide React: Icon library
  • React TSParticles: Particle animation effects

Utilities

  • UUID: Unique identifier generation
  • TypeScript Types: Enhanced type definitions

Development Tools

  • ESLint: Code linting
  • Next.js ESLint Config: Next.js specific linting rules

🌐 Deployment

Live Application

The application is deployed and accessible at:

πŸ”— https://isro-frontend-eta.vercel.app/

πŸ™ Acknowledgments

This project uses the following open-source libraries and frameworks:

All copyrights and licenses of these dependencies are retained by their respective owners.

Eagleeye-frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors