Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 737 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 737 Bytes

NodeJS-with-JWT

A Node.js website (Movies Bucket) with authentication using JSON Web Token. Simple website to see the details of the movies, add movies, delete movies, edit details of the movies. The user can edit movies, add movies, edit details when they are logged in. The authentication is done using the JSON Web token and cookies.

Prerequisites

  • Node.js
  • Express.js
  • MongoDB
  • JSON Web Token

Installing

  1. Setup Node or NVM.
  2. Download libraries listed in package.json
  3. Create MongoDB collection.
  4. Setup the .env file. Change password of the MongoDB, assign secret tokens
  5. Run npm start or node app.js on terminal to run the website.

Built with

  • Visual Studio Code (1.47.2)
  • MongoDB Atlas