BrainSiftAI is an innovative AI-powered platform that transforms educational content into interactive exams and comprehensive summaries. Upload PDFs or text content, and let our advanced AI generate relevant, high-quality exam questions automatically.
- AI-Generated Exams: Upload PDFs or text content and automatically generate relevant exam questions
- Content Summaries: Get concise, AI-generated summaries to help students review before exams
- Real-time Exam Taking: Interactive exam interface with timer, progress tracking, and instant feedback
- Exam Preview & Sharing: Preview exams before publishing and share with students via secure links
- Public Exam Discovery: Explore community-created exams through the public exam gallery
- Responsive Design: Fully responsive interface that works on desktop, tablet, and mobile
- Dark/Light Mode: Seamless theme switching with system preference detection
- Real-time Feedback: Instant results with detailed answer explanations
- Performance Analytics: Track exam performance with detailed scoring and analytics
- Content Management: Organize and manage your exams through an intuitive dashboard
- Authentication System: Secure user authentication with JWT tokens
- Privacy Controls: Choose between public and private exams
- Data Protection: Industry-standard security measures for user data
- Role-based Access: Different user roles (user, admin, sadmin) with appropriate permissions
- Next.js 15.2.3 - React framework with App Router
- React 19.0.0 - Latest React with concurrent features
- TypeScript 5 - Type-safe development
- Tailwind CSS 4 - Utility-first CSS framework
- Radix UI Components - Accessible, unstyled UI primitives
- Lucide React - Beautiful icon library
- Motion - Animation library for smooth interactions
- shadcn/ui - Modern component library built on Radix UI
- React Context - Global state management for authentication
- Axios - HTTP client for API communications
- React Hot Toast - Elegant toast notifications
BrainSiftAI-Frontend/
โโโ app/ # Next.js App Router
โ โโโ about/ # About page
โ โโโ blog/ # Blog section
โ โโโ contact/ # Contact page
โ โโโ create-exam/ # Exam creation interface
โ โโโ dashboard/ # User dashboard
โ โโโ exam/[id]/ # Individual exam pages
โ โโโ exam-preview/[id]/ # Exam preview pages
โ โโโ explore/ # Public exam discovery
โ โโโ features/ # Features showcase
โ โโโ help/ # Help center
โ โโโ login/ # Authentication pages
โ โโโ pricing/ # Pricing information
โ โโโ security/ # Security information
โ โโโ settings/ # User settings
โ โโโ tutorials/ # Tutorial pages
โ โโโ globals.css # Global styles
โโโ components/ # Reusable components
โ โโโ ui/ # UI component library
โ โโโ auth-context.tsx # Authentication context
โ โโโ navbar.tsx # Navigation component
โ โโโ footer.tsx # Footer component
โ โโโ theme-provider.tsx # Theme management
โโโ lib/ # Utility libraries
โ โโโ axios.ts # API configuration
โ โโโ utils.ts # Helper functions
โโโ public/ # Static assets
โ โโโ bg-home/ # Background images
โ โโโ teams/ # Team member photos
โ โโโ *.svg # Icons and logos
โโโ Configuration files
- Node.js 18+
- npm, yarn, or pnpm
- Modern web browser
-
Clone the repository
git clone https://github.com/ScriptBloxX/BrainSiftAI-Frontend.git cd BrainSiftAI-Frontend
-
Install dependencies
npm install # or yarn install # or pnpm install
-
Start the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser Navigate to http://localhost:3000
npm run dev # Start development server with Turbopack
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
- Content Upload: Upload PDF files or paste text content
- AI Processing: Advanced AI analyzes content and identifies key concepts
- Question Generation: AI creates relevant multiple-choice questions
- Preview & Customize: Review and modify generated questions
- Publish & Share: Make exams public or share private links
- Interactive Interface: Clean, distraction-free exam environment
- Timer System: Configurable time limits with visual countdown
- Progress Tracking: Real-time progress indicators
- Instant Results: Immediate scoring with detailed explanations
- Content Summary: Optional study summaries before exam start
- Exam Management: View, edit, and manage created exams
- Performance Analytics: Track completion rates and scores
- Exam History: Review past exam attempts and results
- Credit System: Monitor remaining AI generation credits
- Light and dark mode compatibility
- System preference detection
- Smooth theme transitions
- Consistent color palette across modes
- Modular, reusable components
- Accessible design patterns
- Responsive layouts
- Type-safe prop interfaces
- Smooth page transitions
- Hover and focus states
- Loading states and skeletons
- Interactive background effects
- JWT Authentication: Secure token-based authentication
- Role-based Access Control: Different permission levels
- Data Validation: Client and server-side validation
- Privacy Controls: Public/private exam settings
- Secure API Communication: HTTPS and proper headers
The application is fully responsive and optimized for:
- Desktop: Full-featured experience with side navigation
- Tablet: Optimized layout with touch-friendly interfaces
- Mobile: Streamlined mobile experience with bottom navigation
The frontend integrates with a backend API for:
- User authentication and management
- Exam creation and storage
- AI-powered question generation
- Performance analytics
- Content processing
- Explore Page: Discover public exams created by the community
- Tagging System: Organize exams with custom tags
- Search & Filter: Find relevant exams by content, creator, or difficulty
- Sharing: Easy sharing via secure links
- Real-time collaborative exam creation
- Advanced analytics dashboard
- Mobile app development
- Integration with LMS platforms
- Multi-language support
- Video content processing
We welcome contributions from the community! If you find a bug, have a suggestion, or want to improve the frontend, please open a Pull Request (PR).
- Fork this repository
- Create a new branch for your fix or feature
- Make your changes and commit them with clear messages
- Open a Pull Request describing your changes, the problem solved, and steps to reproduce (if applicable)
- Wait for review and feedback from maintainers
- Please open an Issue or PR with a clear description
- Include screenshots, error messages, and steps to reproduce
- Suggest a possible solution if you have one
- Follow the existing code style and conventions
- Test your changes before submitting
- Keep PRs focused and concise
Thank you for helping us improve BrainSiftAI!