A RESTful API built using Node.js, Sequelize (with PostgreSQL), and other technologies for managing the train reservation system. This project includes user authentication, booking management, and model associations between users and bookings.
- Project Overview
- Tech Stack
- Installation
- Configuration
- API Endpoints
- Database Setup
- Running the Application
- Testing
- Contributing
- License
This is an API for managing train reservations, including the following features:
- User management (authentication, user roles).
- Booking management (creating and viewing bookings).
- Handling train seat availability and reservations.
- Node.js: Runtime environment for building the server.
- Express.js: Web framework for handling HTTP requests.
- Sequelize: ORM for interacting with PostgreSQL.
- PostgreSQL: Relational database used for storing data.
- Bcrypt.js: Used for password hashing.
- JWT: JSON Web Token for secure user authentication.
- Nodemon: Tool for automatically restarting the server during development.
git clone https://github.com/yourusername/IrctcAPI.git
cd IrctcAPI