SlotX is a premium, high-performance web application designed to democratize and simplify exam slot booking for students and educational institutions. Built with a modern tech stack, it features a highly responsive interface with fluid animations and robust role-based access control.
🔗 Repository: https://github.com/himaniag10/SlotX
- Role-Based Dashboards:
- Admin: Monitor system health, track total students, manage active exam slots, and view audit logs.
- Student: Effortlessly search for available slots, manage current bookings, and view activity history.
- Premium UI/UX: Overhauled landing page with
framer-motionanimations,lucide-reacticonography, and a clean, responsive layout. - Secure Authentication: Implementation of JWT-based authentication with secure cookie storage and role-based access control.
- Real-time Metrics: Visual representation of platform scale and success rates.
- Responsive Architecture: Fully functional on mobile, tablet, and desktop.
- Robust Error Handling: Standardized error responses with user-friendly toast notifications.
Frontend:
Backend:
.
├── client/ # React Frontend
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── contexts/ # React Context (Auth, etc.)
│ │ ├── pages/ # Application views
│ │ │ ├── admin/ # Management dashboards & logs
│ │ │ ├── auth/ # Authentication forms
│ │ │ ├── common/ # Public pages (Landing)
│ │ │ └── student/ # Student dashboards & booking
│ │ └── utils/ # API clients & helpers
│ └── public/ # Static assets
└── server/ # Node.js Backend
└── src/
├── configs/ # Database & server config
├── controllers/ # Route logic & handlers
├── middlewares/ # Auth & error handling
├── models/ # Mongoose schemas
└── routes/ # API endpoint definitions
This project uses pnpm for package management.
- Node.js installed (v16+ recommended)
pnpminstalled globally:npm install -g pnpm
- A running MongoDB instance (Local or Atlas)
git clone https://github.com/himaniag10/SlotX.git
cd SlotXNavigate to the server directory and install dependencies:
cd server
pnpm installCreate a .env file in the server directory:
PORT=5001
MONGO_URL=your_mongodb_connection_string
DB_NAME=slotx_db
JWT_SECRET=your_jwt_secret_key_here
JWT_EXPIRES_IN=7d
FRONTEND_LOCAL_URL=http://localhost:3000
BACKEND_LOCAL_URL=http://localhost:5001
NODE_ENV=developmentStart the backend server:
pnpm run dev
# Or for production mode:
# pnpm startOpen a new terminal, navigate to the client directory, and install dependencies:
cd client
pnpm installCreate a .env file in the client directory:
REACT_APP_API_BACKEND_LOCAL_URL=http://localhost:5001
REACT_APP_API_FRONTEND_LOCAL_URL=http://localhost:3000Start the frontend application:
pnpm startThe application should now be running at http://localhost:3000.
pnpm run dev: Runs the server in development mode withnodemon.pnpm start: Runs the server in production mode.
pnpm start: Runs the app in development mode.pnpm run build: Builds the app for production to thebuildfolder.
All sensitive code (passwords, tokens) is protected with industry-standard practices. All comments have been removed from the production codebase for a cleaner, professional delivery.
© 2026 SlotX Inc. All rights reserved.