Skip to content

Repository files navigation

Weather Forecast Node.js

Weather Forecast Node.js is a simple weather website built using Node.js and the Express.js framework. It utilizes HBS templates for rendering dynamic HTML pages and incorporates Tailwind CSS for styling. With this application, users can search for the current weather conditions and the forecast for a specific city.

Features

  • City Search: Users can search for the current weather and forecast of any city.
  • Responsive Design: The website is designed to be responsive and work seamlessly on various devices.

Technologies Used

  • Node.js: Server-side JavaScript runtime.
  • Express.js: Web application framework for Node.js.
  • HBS (Handlebars.js): Templating engine for rendering dynamic HTML pages.
  • Tailwind CSS: Utility-first CSS framework for styling.

Getting Started

Follow these steps to get the project up and running on your local machine:

  1. Clone the Repository:

    git clone https://github.com/your-username/Weather-forcast-nodejs.git
  2. Navigate to the Project Directory:

    cd Weather-forcast-nodejs
  3. Install Dependencies:

    npm install
  4. Run the Application:

    npm start
  5. Css production build

    npm build:css

    The application will be accessible at http://localhost:3000 by default.

Usage

  1. Open your web browser and go to http://localhost:3000.
  2. Enter the name of the city in the search bar and click the "Search" button.
  3. View the current weather conditions and the forecast for the entered city.

Contributing

Contributions are welcome!

Acknowledgments

  • Thanks to WeatherApi for providing the weather data.

Happy forecasting!

About

a mini project, using weather api to display weather forecasting of a region

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages