NeuroNix is a cutting-edge brain performance monitoring dashboard that helps developers, students, and professionals track their cognitive performance in real-time. By analyzing key factors like sleep, study hours, stress levels, and caffeine intake, NeuroNix provides actionable insights to optimize mental performance.
Think of it as a system monitor for your brain - just like how you monitor your computer's CPU, RAM, and processes, NeuroNix monitors your focus level, logic power, error rate, and mental capacity.
- Focus Meter: Real-time concentration level tracking (0-100%)
- Logic Power: Problem-solving capability assessment
- Bug Count: Mental error rate monitoring
- Coffee Dependency: Caffeine impact analysis
- Brain RAM Usage: Mental capacity utilization (0-4 GB)
-
Cognitive Engine: Advanced algorithm that calculates metrics based on:
- Sleep hours (optimal: 7-8 hours)
- Study/work hours
- Stress levels (optimal: 2-4/10)
- Coffee/tea intake
-
Dynamic Recommendations: Context-aware tips for performance improvement
-
Error Logging: Detailed insights into cognitive performance issues
-
Visual Gauges: Beautiful circular progress indicators
-
Status Labels: Instant feedback on your current state
- Secure Authentication: JWT-based login system
- Persistent Storage: MongoDB for user data and statistics
- Session Management: Automatic token handling
- Protected Routes: Secure dashboard access
- Glassmorphism Design: Modern frosted glass effects
- Smooth Animations: Framer Motion for fluid interactions
- Responsive Layout: Works on all screen sizes
- Dark Mode: Eye-friendly cyberpunk theme
- Interactive Components: Real-time visual feedback
| Technology | Purpose |
|---|---|
| React 19 | UI framework with latest features |
| TypeScript | Type-safe development |
| Vite | Lightning-fast build tool |
| Tailwind CSS 4 | Utility-first styling |
| Framer Motion | Smooth animations |
| React Router | Client-side routing |
| Recharts | Data visualization |
| Axios | HTTP client |
| Lucide React | Beautiful icons |
| Technology | Purpose |
|---|---|
| Node.js | JavaScript runtime |
| Express.js 5 | Web framework |
| MongoDB | NoSQL database |
| Mongoose | MongoDB ODM |
| JWT | Authentication |
| bcryptjs | Password hashing |
| CORS | Cross-origin requests |
- ESLint: Code linting
- TypeScript ESLint: TS-specific linting
- Vitest: Unit testing
- Nodemon: Auto-restart server
Ensure you have the following installed:
- Node.js >= 20.0.0
- npm >= 8.0.0
- MongoDB >= 6.0 (local or Atlas)
- Git
- Clone the repository
git clone https://github.com/krina2005/Neuronix.git
cd Neuronix- Install Backend Dependencies
cd backend
npm install- Install Frontend Dependencies
cd ../frontend
npm installCreate a .env file in the backend directory:
# MongoDB Connection
MONGODB_URI=mongodb://localhost:27017/cs-brain-dashboard
# Or use MongoDB Atlas:
# MONGODB_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/neuronix?retryWrites=true&w=majority
# JWT Secret (generate a strong random string)
JWT_SECRET=your_super_secret_jwt_key_change_this_in_production
PORT=5000Create a .env file in the frontend directory (optional):
VITE_API_URL=http://localhost:5000/api- Start MongoDB
# If using local MongoDB
mongod- Start Backend Server
cd backend
npm run devServer will run on http://localhost:5000
- Start Frontend Development Server
cd frontend
npm run devFrontend will run on http://localhost:3000
- Open your browser
Navigate to http://localhost:3000
- Navigate to the signup page
- Create an account with your name, email, and password
- You'll be automatically logged in and redirected to the dashboard
Input your current status:
- Sleep Hours: How many hours you slept last night
- Study Hours: How long you've been studying/working
- Coffee Intake: Number of cups consumed
- Stress Level: Rate your current stress (0-10)
Click "Calculate Brain Stats" to analyze your cognitive performance
Monitor your:
- Focus Level: Your current concentration capability
- Logic Power: Problem-solving strength
- Bug Count: Mental error frequency
- Coffee Dependency: Caffeine reliance percentage
- Brain RAM Usage: Mental capacity utilization
Review the personalized tips and error logs to optimize your performance
Neuronix/
βββ backend/
β βββ middleware/
β β βββ authMiddleware.js # JWT authentication
β βββ models/
β β βββ User.js # User schema
β β βββ BrainStats.js # Stats schema
β βββ routes/
β β βββ auth.js # Auth endpoints
β β βββ stats.js # Stats endpoints
β βββ .gitignore
β βββ package.json
β βββ server.js # Express server setup
β
βββ frontend/
β βββ src/
β β βββ components/
β β β βββ ErrorLog.tsx # Error display
β β β βββ Gauge.tsx # Circular gauge
β β β βββ InputPanel.tsx # Input controls
β β β βββ Navbar.tsx # Navigation bar
β β β βββ ProtectedRoute.tsx # Auth guard
β β β βββ StatCard.tsx # Stat display card
β β βββ pages/
β β β βββ Dashboard.tsx # Main dashboard
β β β βββ Landing.tsx # Home page
β β β βββ Login.tsx # Login page
β β β βββ Signup.tsx # Signup page
β β βββ utils/
β β β βββ cognitiveEngine.ts # Stats calculation
β β βββ types/
β β β βββ index.ts # TypeScript types
β β βββ api.ts # Axios instance
β β βββ App.tsx # Main app component
β β βββ index.css # Global styles
β β βββ main.tsx # Entry point
β βββ .gitignore
β βββ index.html
β βββ package.json
β βββ tsconfig.json
β βββ vite.config.ts
β
βββ README.md
Register a new user
Login existing user
Get user's brain statistics (Protected)
Save/update brain statistics (Protected)
Headers:
Authorization: Bearer <token>
Request Body:
{
"focusLevel": 85,
"logicPower": 78,
"bugCount": 12,
"coffeeDependency": 37,
"brainRamUsage": 2.3
}Response:
{
"message": "Stats saved successfully",
"stats": { /* stats object */ }
}Beautiful cyberpunk-themed landing page with feature showcase
Real-time brain performance monitoring with interactive gauges
Detailed metrics and personalized recommendations
Secure login and signup with modern UI
Distributed under the MIT License. See LICENSE for more information.
Krina Parmar
- πΌ LinkedIn: @krina-parmar
- π» GitHub: @krina2005
- πΈ Instagram: @krina__2005
Project Link: https://github.com/krina2005/Neuronix
- React - UI Framework
- Tailwind CSS - Styling
- Framer Motion - Animations
- Lucide Icons - Icon library
- MongoDB - Database
- Express.js - Backend framework
Made with β€οΈ by Krina Parmar
Monitor your brain, optimize your life π§ β¨