Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dayana's weather forecast

Introduction

Welcome to Dayana's Weather Forecast App! This application provides current weather information and additional data for a given city.

Installation

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Run nodemon app.js to start the server
  4. Open your browser and go to http://localhost:3000

Dependencies

  • Express: Fast, unopinionated, minimalist web framework for Node.js.
  • HTTPS: Secure, robust, and essential package for enabling secure communication over the web in Node.js applications.
  • bcrypt: password-hashing function designed to securely hash passwords for storage
  • path: provides utilities for working with file and directory paths

Server

The server runs on port 3000.

API's used

1.Google Maps Geocoding API:

Endpoint: https://maps.googleapis.com/maps/api/geocode/json Usage: Converts a city name to latitude and longitude.

2.OpenWeatherMap API:

Endpoint: https://api.openweathermap.org/data/2.5/weather Usage: Gets current weather details for a specific city.

Usage

1.Log in or sign in 2.If you are a user, click the "Get Current Weather" button. 3.See the results.

To log in as an admin Login: Dayana Password: 123abc

You will be redirected to the admin panel, where you can delete the users by their email.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages