- cd into
apartment-management
- run
npm install
(install nodejs if you haven't already) - install mongodb if you haven't already, Mongo installation
- run mongodb server and make sure it is online
- create a .env file in the
apartment-management
directory- for local DataBase, put
DB_ENV='local'
andMONGO_URI_LOCAL='mongodb://localhost:27017/apartmentmanagement'
in the .env file - for cloud DataBase, put
DB_ENV='cloud'
andMONGO_URI_CLOUD='<cloud provider url>'
in the .env file
- for local DataBase, put
- run
npm run dev
to start the server - in another tab run
npm run gulp
for compressing the.js
and.css
file - for sending mails, signup for MailJet account and get the api keys
- in the
.env
file create these entriesMAILJET_USER='<your user key>'
MAILJET_AUTH='<your auth key'
- in the
iamkishan98 / computing-lab Goto Github PK
View Code? Open in Web Editor NEWThis project forked from harshavardhannakkina/computing-lab