Skip to content

This is sample project to expose apis to get pollution data of nearest GPS coordinates city

Notifications You must be signed in to change notification settings

mkashifaslam/air-quality-apis

Repository files navigation

iqair Logo

Description

This is sample project to expose apis to get pollution data of nearest GPS coordinates city using IQAir APIs.

Rename .env.example file to .env

Update .env file based on your configuration values

Installation

$ npm install

Run Database Migrations

  • Create new mysql database with name "air_quality_db"
$ npx prisma migrate deploy

Running the app

$ npm run start

Open API Swagger Docs

Test

# unit tests
$ npm run test

About

This is sample project to expose apis to get pollution data of nearest GPS coordinates city

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published