Skip to content

yuval4/KesherBackend

Repository files navigation

backend

Installation

Don't forget to install node js if you don't have it yet.

npm install
npm install -g nodemon

Environment variable

Need to open a new .env file and add these lines:

Connection string to mongoDB.

DB=mongodb+srv://example@example.yxpbt.mongodb.net/exaple?retryWrites=true&w=majority

Long randomized string.

crypto.randomBytes(64).toString('hex') can be used.

TOKEN_SECRET=

Gmail account details for the mail service.

MAIL=mail@gmial.com
PASSWORD=password123

Run the app

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages