Skip to content

Elksass315/node_Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Application with User Management and Favorites

This is a Node.js-based weather application that allows users to register, authenticate, and manage their favorite cities' weather. The application fetches weather data using an external API, with Redis caching for performance optimization. Additionally, users can update their details and manage their favorite cities.

Features

  • User registration and authentication
  • Fetch real-time weather data for any city
  • Add and manage favorite cities
  • Redis caching for weather data to improve performance
  • RESTful API documented with Swagger

Installation

  1. Clone the repository:
    git clone https://github.com/Elksass315/node_Weather
  2. Install dependencies:
    npm install

Running the Application

To start the server in development mode:

npm run dev

To run tests:

npm test

Viewing API Documentation

Swagger documentation is available after starting the server. You can view the documentation at:

http://localhost:3000/api-docs

Caching

This project uses Redis to cache weather data for 1 hour, reducing the need to fetch data from the weather API repeatedly.

About

A Node.js-based weather application with user management, favorite cities, and Redis caching for optimized weather data retrieval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors