This is the backend repository of the DState project, a platform for real estate tokenization.
- Create a new
.envfile and copy the content of the.env.examplein it - run
npm installfrom 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_PSandDB_NAMEvariables inside the.envfile - Follow this guide to get the
EMAIL_USER,EMAIL_PASS,EMAIL_CLIENTID,EMAIL_SECRET,EMAIL_REFRESHvariables - generate a secret key for the sessison and a secret key for passport and put them as the
PASSPORT_SECRETandSESSION_SECRETvariables - run
npm start