Revolutionizing Education with AI-Powered Teaching Tools
- React 19.1.0 - Latest React with concurrent features
- TypeScript 5.8.3 - Type-safe development
- Vite 7.0.6 - Lightning-fast build tool
- React Router 7.7.1 - Modern routing solution
- TanStack Query 5.83.0 - Powerful data fetching and caching
- Tailwind CSS 4.1.11 - Utility-first CSS framework
- shadcn/ui - Beautiful, accessible components
- Radix UI - Unstyled, accessible UI primitives
- Lucide React - Beautiful icons
- Sonner - Toast notifications
- Microsoft Fetch Event Source - Real-time AI streaming
- Marked + React Markdown - Rich content rendering
- KaTeX - Mathematical expression rendering
- ESLint - Code linting
- Prettier - Code formatting
- pnpm - Fast, disk space efficient package manager
- Node.js 18+
- pnpm (recommended) or npm
-
Clone the repository
git clone https://github.com/innowhyte/hackathon-frontend.git cd hackathon-frontend -
Install dependencies
pnpm install
-
Set up environment variables
cp .env.example .env
Configure your
.envfile:VITE_API_BASE_URL=http://localhost:8000
-
Start the development server
pnpm dev
-
Open your browser Navigate to
http://localhost:5173
pnpm dev # Start development server
pnpm build # Build for production
pnpm preview # Preview production build
pnpm lint # Run ESLint
pnpm lint:fix # Fix ESLint issues
pnpm format # Format code with Prettiersrc/
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ ├── modals/ # Dialog components
│ └── ... # Feature-specific components
├── pages/ # Route components
│ ├── grade-selection.tsx
│ ├── topics.tsx
│ ├── weekly-plan.tsx
│ ├── day-lesson.tsx
│ ├── student-management.tsx
│ ├── assessments.tsx
│ └── ...
├── hooks/ # Custom React hooks
├── queries/ # React Query hooks
├── mutations/ # Data mutation hooks
├── context/ # React context providers
└── lib/ # Utility functions
- Mobile-First Design: Optimized for tablet and mobile use in classrooms
- Accessibility: WCAG compliant with screen reader support
- Dark/Light Mode: Adaptive theming system
- Responsive Layout: Works seamlessly across all devices
- Intuitive Navigation: Bottom navigation for easy access
- Real-time Feedback: Toast notifications and loading states
- TypeScript: Strict typing throughout the application
- ESLint: Enforced code quality standards
- Prettier: Consistent code formatting
- Component Structure: Organized imports and clear separation of concerns
- React Query: Efficient data fetching and caching
- Custom Hooks: Reusable logic encapsulation
- Error Boundaries: Graceful error handling
- Performance: Optimized rendering and bundle size
- Clone the repository in Firebase studio.
- Install dependencies.
- Set up environment variables.
- Initialize Firebase Hosting.
- Select or create a new project.
- Deploy to production.
- You should be able to see the app at the public url provided by Firebase.