This is the backend repository of the DState project, a platform for real estate tokenization.
- Create a new
.env
file and copy the content of the.env.example
in it - run
npm install
from your command line - Create a new mongo db cluster and paste the db user and password you get from mongo db into the
MONGO_DB_USER
,MONGO_DB_PS
andDB_NAME
variables inside the.env
file - Follow this guide to get the
EMAIL_USER
,EMAIL_PASS
,EMAIL_CLIENTID
,EMAIL_SECRET
,EMAIL_REFRESH
variables - generate a secret key for the sessison and a secret key for passport and put them as the
PASSPORT_SECRET
andSESSION_SECRET
variables - run
npm start