5F8575tree / travelapp

Simple travel app that allows user to input destination and date and receive weather, image, and country information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travel App

Summary

A basic travel app that allows users to select their destination and their travel date and receive a brief weather report (overview, temperature, humidity), a photo of the destination (randomly generated), and some information about the country they will visit (flag, population, region).

1.2. Table of Contents

1. Introduction

The main features of this project are:

  • Using just the city name and the date, four APIs are used to retrieve the weather, the photo, and the country information.

  • Geonames API is used to retrieve the city coordinates.

  • Weatherbit API is used to retrieve the weather forecast.

  • Pixabay API is used to retrieve the photo.

  • REST countries API is used to retrieve the country information.

  • The app is responsive and mobile-friendly.

1.2. Installation

After installing dependencies with npm install, the following command will run the app:

$ npm start

Test:

$ npm test

2. Links

3. License

MIT License

Copyright (c) [2022] [Mark J Rawlins]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Simple travel app that allows user to input destination and date and receive weather, image, and country information


Languages

Language:JavaScript 47.1%Language:SCSS 39.8%Language:HTML 13.1%