https://github.com/kunchalavikram1427/nodejs-weather-app
https://github.com/kunchalavikram1427/nodejs-weather-app
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kunchalavikram1427/nodejs-weather-app
- Owner: kunchalavikram1427
- Created: 2024-01-20T14:32:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-20T17:01:26.000Z (over 1 year ago)
- Last Synced: 2025-03-26T12:51:17.800Z (7 months ago)
- Language: EJS
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS Weather Application
Below is a simple Node.js project using Express for the backend, EJS for the view engine, and Bootstrap for styling. The weather data is fetched from the OpenWeatherMap API `https://home.openweathermap.org/`## Install packages
Install necessary packages
```
npm install
```
## Test app
```
npm test
```## Run the app
```
API_KEY=123456789 node server.js
```## Build and run the Docker container
```
docker build -t weather-app .
docker run -d -p 3000:3000 -e API_KEY=123456789 weather-app
```