项目作者: edocbuhtig

项目描述 :
Secure REST API using JWT with MongoDB Atlas Cloud database example and Nodejs Express framework.
高级语言: JavaScript
项目地址: git://github.com/edocbuhtig/secure-rest-api-jwt.git
创建时间: 2020-06-12T13:11:43Z
项目社区:https://github.com/edocbuhtig/secure-rest-api-jwt

开源协议:

下载


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