Skip to content

ikcb/Auth-Template-Node

Repository files navigation

T-n-Tips

A platform for coders to share their experience and journey.

Get it Running

openssl genrsa -out ./keys/private-key.pem 1024
openssl rsa -in ./keys/private-key.pem -out ./keys/public-key.pem -outform PEM -pubout
yarn install
yarn dev

NOTE : Add MongoDB URI in a .env file at project root, like this (or pass it as an environment variable):

URI=mongodb+srv://username:[email protected]/db?retryWrites=true&w=majority

About

Node-JS backend template for basic authorisation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published