Made using ExpressJs and OpenWeatherMap API.
git clone https://github.com/vijayv18/WeatherApp-nodejs-api.gitGo to the project directory
cd WeatherApp-nodejs-apiInstall "WeatherApp-nodejs-api" with npm
cd WeatherApp-nodejs-api
npm install This will install all the required dependencies for the project to run,
To run this project, you will need to add the following environment variables to your .env file
APP_KEY- can be obtained by visiting OpenWeatherMap website and creating your own API KEY. Check this out - https://openweathermap.org/api
PORT- 3000
APP_KEY= Paste the created API key here
PORT=3000
To run tests, run the following command
node app.jsAnd go to localhost:3000 on your browser to check if the project is working.