Skip to content

D-Rosa99/Node-Rental-Movies

Repository files navigation

Node-Rental-Movies

A mini-project about rental movies, the user can search and rent movies, only user administrators can delete and post movies, this project is totally back-en, it used express for APIs, @hapi/joi input validation, mongoose to work with mongodb, JasonWebToken for authentication and authorization, bcrypt to encrypt the users password and others.

Technologies

Here is a list of all the technologies I use:

  • Node.js
  • MongoDB
  • Express.js

Intallation

  • Clone or download the repository to your computer.
  • Run npm intall
  • Set the JSONWEBTOKEN variable
  • Then run npm run start to execute the project.
  • Register yourself with the auth endpoint.
  • Use Postman to send request to any of the endpoints of the project.

Environment variable

  • movie_JWTkey