- 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.
-
Notifications
You must be signed in to change notification settings - Fork 1
edocbuhtig/secure-rest-api-jwt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published