A flight booking application that allows users to book for available flights. It can be viewed online here
-
Clone the repository:
$ git clone https://github.com/andela-ajamiu/ultrafly.git
-
Navigate into the cloned repository folder:
$ cd ultrafly
-
Install dependencies:
$ bundle install
-
Setup database:
$ rake db:setup
-
Start rails server
$ rails s
-
Navigate to your browser and type in: http://localhost:3000
~ Rails Framework
~ Devise
~ Simple_Form
~ Faker
~ Cocoon
~ Puma Web Server
~ Rails_12factor
~ Letter_opener
~ Toastr-rails
~ RSpec-rails
~ Capybara
~ Factory_girls
~ Database_cleaner
-
Make sure "rspec" is installed by running:
$ bundle show rspec
If a path is listed, then rspec is installed.
-
Run rspec for the spec folder through bundle:
$ bundle exec rspec spec
- Users can search for flights based on the following criteria: flight date, destination airport, departure airport and number of passengers
- Users can book for available flights.
- users can make payment for their bookings via PayPal.
- Registered Users can see their past booking History.
- Instantly notifies users via email on successful flight booking and record update.
- Users can search for bookings based on their booking reference number.
- Registered users can edit and update their booking records if the flight has not moved yet.
- Registered users can edit their profile with name, phone number and gender.
- registered users are prompted to make payment upon update of their booking records.
- Users can see the listing of all available flights on the "All Flights" page.
- Fork it: Fork the ultrafly project
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request