This application is used for monitoring, device registration, location registration. This can be accessed here: https://staging-platform.airqo.net/ and https://platform.airqo.net/
npm
Is our package manager of choice here.. Check out setup instructions here if you don't have it installed already.
Note: This project is currently using node version 14.
To run the app, enter the project directory accordingly,
a) Add the .env
file
You need to fill actual values to the environment variables while creating the respective .env
file from .env.sample file.
Note that the variables with no values(dummy variables) are not required to get the app up and running.
b) Install all the needed dependencies
npm install
c) Run in Development mode
npm run dev
d) Run in Staging mode
npm run stage
e) Run in Production mode
npm run prod
Now, the application should be running on http://localhost:5000
.
When working on this project, all developments must be done on staging for testing purposes.