This project is about building a website for booking hotels, flights and trains.
- Express - The node.js framework used
- MongoDB - The database used
- Mongoose - The database framework used
To get a local copy up and running, follow these steps.
In order to run this project you need:
-
Node.js
-
MongoDB
-
Postman
- Clone this repository to your desired folder.
git clone https://github.com/sjjdfrz/booking-system.git
-
Create config.env file.
-
Copy content of config-example.env file and paste in config.env file.
-
Fill variables with your own data.
Run this command to install dependencies:
npm install
First of all, run the server with this command:
npm start
-
Backend
Import booking-system.postman_collection.json file in postman and do http requests with APIs.
-
Frontend
Type this URL in your browser:
* http://127.0.0.1:3000/
- Authentication, Authorization and Security (with JWT Token)
- CRUD operations
- Error handling
- Data Modelling
- Relationships
- Pagination
- Middlewares
- Data Validation
- MVC Architecture
- Routing
- Server-Side Rendering with Pug Templates
- etc