An open API service indexing awesome lists of open source software.

https://github.com/nerdfiles/airvisual-api

🏙 Exploring the AirVisual public data API
https://github.com/nerdfiles/airvisual-api

api hapi hapi-swagger mongodb nodejs typescript

Last synced: 2 months ago
JSON representation

🏙 Exploring the AirVisual public data API

Awesome Lists containing this project

README

          

# AirVisual API

API for https://github.com/nerdfiles/airvisual-frontend client

## Requirements

- Node.js v10+
- MongoDB running on local instance

### Environment Variables

- PORT: 3000
- MONGO_URL: localhost:27017

## Running

- Install dependencies - `npm i`
- Build typescript - `npm run build`
- Run project - `npm start`
- Go to swagger page - `localhost:3000/`

## Development with Watch Compiler

- Run project - `npm run dev`