Skip to content

MGatz/live-coding-weather-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

live-coding-weather-adapter

The weather service provides an api to connect to the https://openweathermap.org/ APIs to retrieve the weather forecast for a specific region.

Setting the applications port

You can define the applications port by setting the environment variable

PORT=8081

If not defined the default port is 8081.

How to run

You can start the application in production mode using following command.

npm start

How to develop

You can start the application in development mode using following command.

npm run dev:start

The service is then executed using nodemon allowing it to be automatically restarted whenever source files are changed. Nodemon starts the service with NODE_ENV='development' to enable development mode.

API documentation

After starting the application you'll find its openAPI definition via HTTP Rest request to

http://localhost:8081/docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published