Skip to content

4nkit-5hukla/node_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation git clone https://github.com/4nkit-5hukla/node_api.git cd node_api npm i

create a .env file PORT= Default 2000 HOST= Default localhost DATABASE= Default nodeapi USER_NAME= Default root PASSWORD= Default "" DATABASE_PREFIX= Default "api" ACCESS_TOKEN_SECRET= Use Crypto to Generate Secret REFRESH_TOKEN_SECRET= Use Crypto to Generate Secret

How to Generate Secret Open the terminal $ node "press enter" write this command require('crypto').randomBytes(64).toString('hex') copy the string and use as ACCESS_TOKEN_SECRET & REFRESH_TOKEN_SECRET

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published