A full-stack flight reservation platform engineered with React.js and Node.js, featuring secure authentication and role-based dashboards.
This project serves as the foundational architecture for an airline booking system. It creates a clear separation between Admin operations (flight scheduling, fleet management) and User operations (search, booking, history). The system is built on a RESTful API architecture ensuring stateless communication.
- ๐ Secure Authentication: Stateless User and Admin sessions using JSON Web Tokens (JWT).
- ๐ค Interactive User Dashboard: Search flights, view booking history, and manage profile details.
- ๐ ๏ธ Admin Control Panel: Complete CRUD capabilities for managing flight schedules and passenger manifests.
- ๐ก RESTful API: clean and documented endpoints for client-server communication.
- Frontend: React.js, React Router, CSS Modules
- Backend: Node.js, Express.js
- Database: MongoDB
- Auth: BCrypt (hashing), JWT
-
Clone the repository
git clone [https://github.com/upendra-coder/Airline-Management-System-Phase1.git](https://github.com/upendra-coder/Airline-Management-System-Phase1.git) cd Airline-Management-System-Phase1 -
Install Dependencies
# For Server cd server npm install # For Client cd ../client npm install
-
Environment Variables Create a
.envfile in theserverfolder:PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key
-
Run the App
# Terminal 1 (Server) cd server npm start # Terminal 2 (Client) cd client npm start