https://github.com/taurusilver7/natours
A back-end REST web api for tours & traveles details
https://github.com/taurusilver7/natours
Last synced: over 1 year ago
JSON representation
A back-end REST web api for tours & traveles details
- Host: GitHub
- URL: https://github.com/taurusilver7/natours
- Owner: taurusilver7
- Created: 2021-04-10T10:36:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-15T11:50:13.000Z (about 5 years ago)
- Last Synced: 2025-02-02T12:36:03.517Z (over 1 year ago)
- Language: JavaScript
- Size: 32.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Natours
> A tour details web-api created using node-js, express-js as web-server
> The database used is mongodb with mongoose as ODM.
> The node project follows the MVC architecture.
> The model handles the business logic, the controller handles the app logic & view controls the presentation logic of the node application.
> The JSON web tokens issued by the server can be tested (here)[https://jwt.io/#debugger-io]
> The router carries the users, tours, reviews, bookings
> The controllers hold the respective handle functions to perform CRUD operations & other business logic controls.
> The view directory holds the template literals of the various end-points of the API.
> The models carry the basic architecture of the data-type they hold & inter-data relations.
## Dependencies && Dev Dependencies.
- axios, express
- database
bcryptjs, mongoose
- env variable
dotenv
- security header
helmet, jsonwebtoken
- parsers
cookie-parser, express-rate-limit
- create slugs -- slugify
- Dev logging -- morgan
- img upload -- multer
- e-mail sending
nodemailer, html-to-text, sendgrid, mailsac
- template creation
pug, sharp
- payments - stripe
- Sanitization & data pollutions
strip, express-mongo-sanitize, validator, xss-clean, hpp
- The API documentation is published [here](https://documenter.getpostman.com/view/13840071/TzCMdTRY)