Weather API application is build on below mentioned modules
- NodeJs
- ExpressJs
- Express validator for validating APIs
- Swagger for API Documentation
- Open Weather APIs for weather data
- Test Cases
Requires [Node.js] to run.
Install the dependencies and devDependencies and start the server.
$ git clone https://github.com/nikhilnkataria/weather-api.git
$ cd weather-api
$ npm i
$ DEBUG=weather-api.* npm startAbove command might not work if you do not have globally install nodemon module. In that case run below command
$ DEBUG=weather-api.* npm run devBy default it will open on http://localhost:3002. For swagger documentation go to below mentioned url
http://localhost:3002/api-docsMIT