Skip to content

A nodejs Typescript API with user authentication management, using JWT, mongodb Atlas and express

License

Notifications You must be signed in to change notification settings

JKS9/api-nodejs-note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API NODE.JS NOTE

A nodejs Typescript API with user authentication management, using JWT, mongodb Atlas and express.

Table of Contents

  1. Install
  2. .env
  3. Run Project
  4. Run Test

Install

  • Clone the project
$ git clone https://github.com/JKS9/api-nodejs-note.git
  • Point to folder
$ cd ./api-nodejs-note/
  • Install dependencies
$ npm install

.env

MONGODB_URL="XXXXXXXXXXXXXXXXXXXXXXXXX" (string)

PORT=XXXX (number)

ACCESS_TOKEN_PRIVATE_KEY="XXXXXXXXXXXXX" (string)

REFRESH_TOKEN_PRIVATE_KEY="XXXXXXXXXXXXXXX" (string)

SALT=XX (number)

Run Project

$ npm run start

Run tests

$ npm run tests

About

A nodejs Typescript API with user authentication management, using JWT, mongodb Atlas and express

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published