Skip to content

An asynchronous web app built using Node.js which allows users to plan a trip to a place based on its forecasted weather data

License

Notifications You must be signed in to change notification settings

walkeknow/trip-top

Repository files navigation

Trip Top

An asynchronous web app built using Node.js which allows users to plan a trip to a place based on its forecasted weather data

Features

  • Sets up server side GET & POST routes using Express
  • CSS grid and flexbox are used along with Sass syntax to style elements
  • Uses Webpack for asset management and optimization with separate development and production environments
  • Coordinates of a place are fetched using the Geonames API based on the place entered by the user
  • Weather details (a short description, weather icon, maximum temperature, and minimum temperature) are fetched using the Weatherbit API which uses the coordinates and a date as input
  • An optional calendar UI allows the user to select the date using datepicker
  • Image of the place is displayed using the Pixabay API
  • node-fetch enables to use the Fetch API syntax in the server side to solve any CORS errors
  • A countdown displays the number of days left before the current date based on the date selected by the user
  • Tests for server and application javascript are added using Jest
  • Service Workers are added to provide offline access

Installation and Usage

  • install all project dependencies with npm install
  • start the server with npm start
  • open http://localhost:8000 in your preferred browser

License

The contents of this repository are covered under the MIT License.

About

An asynchronous web app built using Node.js which allows users to plan a trip to a place based on its forecasted weather data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published