Giter Club home page Giter Club logo

flight-booker's Introduction

Flight Booker

Flight Booker is a project from The Odin Project's Ruby on Rails curriculum. The section is Advanced Forms and Active Record.

Demo

TBA

Live

You can check it out on Heroku in the future.

Project Details

This project is a simple web app designed to let a user book a one-way flight. It showcases knowledge of advanced form concepts in Rails such as nested forms. It also utilizes MVC concepts and ActiveRecord.

Search For Flight: Users are given a search menu page with 4 dropdown menus to search for a flight based on the departure airport, arrival airport, departure date, and amount of passengers. Associations are set up between the Airport and Flight models. Database is seeded with airports and flights.

Book A Flight: Users submit the search form and are given a new form with a set of available flights via querying. Users select a given flight and move on to the next step.

Enter Passenger Information: A new form is produced for the user to enter their details in and submit as a Booking object. Passenger objects will be created along with the Booking for each Passenger who needs a ticket. Associations set up between Bookings, Passengers and Flights.

(Bonus) Styling: Styling is not required as this project is primarily for practice with the backend, however I will be using vanilla CSS to add some visuals to the app.

Local Installation

TBA

flight-booker's People

Contributors

reyes-dev avatar

Watchers

 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.