Skip to content

ralhan/Node_API_Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestFul API server

CodeFactor

Example of restfull API server with jwt authetication

Requirement

Please define the following in the .env file

APPLICATION_PORT=
MONGODB_URL=
JWT_ISSUER=
JWT_CONSUMER=
JWT_SECRET=
JWT_REFRESH_SECRET=

Run the project

To run the project

  1. Install the package by run the following command npm i
  2. Run this command after installing the packages node index.js