A weather microservice app using Openweather API, created with NodeJs, Express.js, TailwindCSS, Handlebars.
- Go to
https://openweathermap.org/
and sign up for an account - Get an API Key, its free but limited usage, there are also premium access for better usage.
- Go to the docs if you want to reference more;
https://openweathermap.org/api
- Run
npm i
ornpm install
- Create a
.env
file in root directory of project (same level as package json) - Add your api key like this:
OPENWEATHER_API_KEY=yourapikeyhere
- run
nodemon index.js
ORnode index.js
- open browser on
localhost port 5000
orpreferred port
Enjoy!