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
- Host: GitHub
- URL: https://github.com/nerdfiles/airvisual-api
- Owner: nerdfiles
- Created: 2020-04-22T09:15:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T02:52:29.000Z (over 3 years ago)
- Last Synced: 2025-01-21T23:17:33.514Z (over 1 year ago)
- Topics: api, hapi, hapi-swagger, mongodb, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 614 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
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`