A modern, full-stack employee management system with real-time analytics and task tracking
π Use App β’ π Live Demo β’ π Report Bug β’ β¨ Request Feature
- π Secure Authentication - JWT-based authentication with bcrypt password hashing
- π₯ Employee Management - Complete CRUD operations with advanced filtering
- π Real-time Analytics - Interactive charts and statistics dashboard
- β Task Tracking - Assign and monitor tasks with status updates
- π¨ Modern UI/UX - Dark theme with glassmorphism effects and smooth animations
- π± Responsive Design - Fully optimized for desktop, tablet, and mobile
- π Serverless Deployment - Deployed on Vercel with MongoDB Atlas
- React 18.3 - Modern UI library with hooks
- Vite - Lightning-fast build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- Framer Motion - Smooth animations and transitions
- Recharts - Beautiful, composable charts
- React Router - Client-side routing
- Axios - HTTP client for API requests
- React Select - Advanced dropdown components
- Node.js 22.x - JavaScript runtime
- Express 4.18 - Fast, minimalist web framework
- MongoDB Atlas - Cloud-hosted NoSQL database
- Mongoose - Elegant MongoDB object modeling
- JWT - Secure token-based authentication
- Bcrypt - Password hashing and salting
- Helmet - Security middleware
- CORS - Cross-origin resource sharing
- Vercel - Serverless deployment platform
- GitHub Actions - CI/CD pipeline
- ESLint - Code linting and formatting
- Node.js 20.19+ or 22.12+
- MongoDB Atlas account (or local MongoDB)
- npm or yarn
-
Clone the repository
git clone https://github.com/vishal-n2403/Employee360.git cd Employee360 -
Install backend dependencies
cd backend npm install -
Install frontend dependencies
cd ../frontend npm install -
Configure environment variables
Create
backend/.env:PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key
-
Run the application
Backend (Terminal 1):
cd backend npm startFrontend (Terminal 2):
cd frontend npm run dev -
Access the application
- Frontend: http://localhost:5173
- Backend API: http://localhost:5000
Employee360/
βββ backend/
β βββ models/ # Mongoose schemas
β β βββ User.js
β β βββ Employee.js
β β βββ Task.js
β βββ routes/ # API routes
β β βββ auth.routes.js
β β βββ employee.routes.js
β β βββ task.routes.js
β β βββ stats.routes.js
β βββ server.js # Express app entry point
β βββ package.json
β
βββ frontend/
β βββ src/
β β βββ components/ # Reusable components
β β βββ pages/ # Page components
β β βββ context/ # React context (Auth)
β β βββ utils/ # Utility functions
β β βββ main.jsx # App entry point
β βββ public/
β βββ package.json
β
βββ vercel.json # Vercel deployment config
POST /api/auth/register- Register new userPOST /api/auth/login- Login userGET /api/auth/me- Get current user
GET /api/employees- Get all employeesPOST /api/employees- Create employeePUT /api/employees/:id- Update employeeDELETE /api/employees/:id- Delete employee
GET /api/tasks- Get all tasksPOST /api/tasks- Create taskPUT /api/tasks/:id- Update taskDELETE /api/tasks/:id- Delete task
GET /api/stats/dashboard- Get dashboard analytics
The application is deployed on Vercel with the following configuration:
MONGO_URI=mongodb+srv://...
JWT_SECRET=your_secret_key
- Click the button above
- Add environment variables
- Deploy!
- Dark Theme - Easy on the eyes with a modern aesthetic
- Glassmorphism - Frosted glass effects for cards and modals
- Smooth Animations - Framer Motion for delightful interactions
- Gradient Accents - Indigo/Purple color scheme
- Responsive Layout - Mobile-first design approach
- Interactive Charts - Real-time data visualization
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Vishal N
- GitHub: @vishal-n2403
- LinkedIn: @vishal-n2403
- React - UI library
- Tailwind CSS - Styling
- MongoDB - Database
- Vercel - Deployment platform
- Recharts - Chart library
β Star this repo if you find it helpful!
Made with β€οΈ by Vishal N