An asynchronous web app built using Node.js which allows users to plan a trip to a place based on its forecasted weather data
- 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
- install all project dependencies with
npm install
- start the server with
npm start
- open
http://localhost:8000
in your preferred browser
The contents of this repository are covered under the MIT License.