The goal of this project is to create a REST API responsible for exposing “the air quality information” of a nearest city to GPS coordinates using iqair API
- NodeJs
- Express
- MongooDB
- TypeScript
- axios
- node-cron
- swagger
1- clone the project using the following command:
git clone https://github.com/dacitto/air-quality-nodejs
.
2- open the project directory then use the following commend.
pnpm install
or npm install
to install project dependencies.
3- run the next commend to start server.
pnpm dev
the server will run in http://localhost:8000.
API documentation can be found here http://localhost:8000/api-docs/.