Skip to content

edocbuhtig/secure-rest-api-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure REST API using JWT with MongoDB Atlas Cloud database example and Nodejs Express framework.

  • Clone and run npm install
  • Run main.js & server.js in alternate (Terminals) / CMD on windows
  • IMP: Never share or publish private.key to rest of the world, replace mine with your to test, which is just a development placeholder.
  • Free RSA Key Tool
  • There are many online free tools available, if you do not want to manullay wtite nodejs crypto script like This
  • For (main.js) Use the Recent mongoDB Atlas nodejs Driver's Connection String as, Starting 2025, your Atlas cluster's password, if contains any Special characters, will be auto URL encoded. Resulting into a connection error. Not covered in the Video Tutorial.

Watch Video Tutorial

About

Secure REST API using JWT with MongoDB Atlas Cloud database example and Nodejs Express framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published