This app is used to search and book flights out of dummy data. Booking a flight will gather passenger information and create a booking in the database. Can also use the app to populate data like flights, airports etc.
Prerequsites: Ruby 2.7.0, rails 5.2.4
Clone this repo In the directory you cloned to run the following commands:
- bundle install #install required gems
- rails db:migrate #setup the database tables
- rails db:seed #fill some dummy data in the database
- rails s #runs the rails server, by default will serve to localhost:3000
created this app as part of the Odin Project as outlined here: https://www.theodinproject.com/courses/ruby-on-rails/lessons/building-advanced-forms