Server for Triple-H travel-social-network
-
Install Nodejs (skip if you already installled):
You can install Nodejs for your device follow by link
-
Install nodemon (skip if you already installed):
Install global:
npm i -g nodemon
Install dependency:
npm i nodemon
-
Install npm package for project:
cd /path/to/dir npm i
-
Add
.env
file:PORT= MONGO_URL= ACTIVATION_TOKEN_SECRET= ACCESS_TOKEN_SECRET= REFRESH_TOKEN_SECRET= CLIENT_URL= MAILING_SERVICE_CLIENT_ID= MAILING_SERVICE_CLIENT_SECRET= MAILING_SERVICE_REFRESH_TOKEN= SENDER_EMAIL_ADDRESS= RECOMBEE_DB= RECOMBEE_TOKEN=
-
Run project:
npm start