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:
- Retrieves current weather data
- Provides location information
- Displays weather history (not implemented yet due to paid subscrition limitation)
- Please refer the doc FitPage Backend Assignment.docx for API reference with screenshot.
Installation:
- Clone the repository: git clone https://github.com/Ankur-Kataria/WeatherAPI.git
- Install dependencies: npm install
- 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:
- Start the server: node index.js
- 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