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