Skip to content

A Node.js website with authentication using JSON Web Token

Notifications You must be signed in to change notification settings

YashKesarwani/NodeJS-with-JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Node.js website with authentication using JSON Web Token

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published