Skip to content

Magicsoftuz/startProject

Repository files navigation

startProject

You must add config.env in the main directory

config.env Example:

PASSWORD=root123456
LOGIN=root
DATABASE=mongodb+srv://<username>:<password>@clustermironshoh.rudaqat.mongodb.net/MagicTour?retryWrites=true&w=majority
PORT=8000
NODE_ENV=DEVELOPMENT
SERVER_URL=127.0.0.1
JWT_SECRET=man_zur_dasturchi_bulaman_keyin_amerika_ketamiz_kalla
JWT_EXPIRES_IN=1d
JWT_COOKIE_EXPIRES_IN=1

EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=465
EMAIL_USER=Your email login
EMAIL_PASS=your email password