Giter Club home page Giter Club logo

brewery-trip-planner's Introduction

๐Ÿบ Brewery Trip Planner ๐Ÿบ

๐Ÿšฉ Purpose

This is a project of my own design. The long-term objective is to provide information to a user that can be used as part of planning trips to breweries. This project will be split into multiple parts and will be periodically enhanced as I progress through more Node.JS topics covered in Jonas Schmedtmann's Node.JS Course.

๐Ÿ“‘ Table of Contents

๐Ÿ”Ž Part 1: Async & API's

๐Ÿ”ด Description

Part 1 of this project centers around practicing asynchronous JS behavior. It includes API calls and other asynchronous activities using promises. The information gathered in the Part 1 exercise will be used in Part 2 to build dynamic web pages that will be served to the user. This exercise was designed to practice information from Sections 3-5 of the aforementioned NodeJS course.

The user can input a state of interest. An API is called to retrieve the towns and cities in that state. The user can then select a city/town. That information is then used to serve the user with the predicted weather for the next 5 days. It is also used to give the user a list of breweries in the city they supplied. With this information, the user can make an informed decision regarding which breweries to visit or if they'd like to visit a brewery at all (given the weather)

๐Ÿ”ต Requirements

Call three API's and feed this information to the user in a palatable manner. Handle errors that may occur. Store the information requested by the user in a format that can be called upon later by the server.

๐ŸŸข Usage

Run the index.js file to get started. Input the state then city of your choice into the console. Weather and nearby brewery information will be provided via a generated HTML page (resultsPage.html). The information will also be placed into a JSON file.

โœ… Result

Brewery.Planner.Part.1.Demo.pls.work.mp4

๐Ÿ’ป Part 2: Client-Side Elements

Part 2 of this project will focus on providing the information gathered in Part 1 to a user on a client-side browser. This information will be displayed in a desktop-focused layout. New information requests for information will be initiated by the user, such as brewery website links. Breweries will be displayed on a map, thus an open-source Map API will be used as part of the presentation to the client.

๐Ÿ—บ Part 3: Itinerary Planning

Part 3 of this project will focus on enhancing the functionality of the site. The goal of this part will be to enable a user to map routes to breweries such that they can create their own custom itinerary. A routing API will be needed for this step.

๐Ÿ”ฎ Future Plans

Long-term, information regarding the taplist at locations of interest would be ideal for those user planning trips around their favorite styles. This will either require a custom API or a pre-existing API that requires fees.

๐Ÿš€ Installation

Use npm to insall inquirer and nodemon (or whatever server-hosting method you prefer).

brewery-trip-planner's People

Contributors

johngardiner93 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.