Skip to content

Repository files navigation

Weather App

Description: This Node.js application provides weather information using external APIs. It allows users to retrieve current weather data, location information, and weather history.

Features:

  1. Retrieves current weather data
  2. Provides location information
  3. Displays weather history (not implemented yet due to paid subscrition limitation)
  4. Please refer the doc FitPage Backend Assignment.docx for API reference with screenshot.

Installation:

  1. Clone the repository: git clone https://github.com/Ankur-Kataria/WeatherAPI.git
  2. Install dependencies: npm install
  3. Set up environment variables: Create a .env file in the root directory and add the following: (I have also commited the env file along with the project code).

Usage:

  1. Start the server: node index.js
  2. Access the API endpoints: (I have also commit the postman collection for the same) a. http://localhost:3000/api/locations b. http://localhost:3000/api/weather/6624b8245e43e3f0232b8e3b

Technologies Used:
-Node.js -Express.js -MongoDB -Mongoose

Author: Ankur Kataria

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages