A flight booking application that allows users to make booking reservations. It can be viewed online here
-
Clone the repository:
$ git clone https://github.com/andela-anwocha/flysafe.git
-
Navigate into the cloned repository folder:
$ cd flysafe
-
Install dependencies:
$ bundle install
-
Setup database:
$ rake db:setup
-
Seed database with fake flight information:
$ rake db:seeds
-
Start rails server
$ rails s
-
Navigate to your browser and type in: http://localhost:3000
Production | Testing/Development |
---|---|
Rails Framework | Letter Opener |
Puma server | Guard |
Rails_12 Factor | SQLiite3 |
Pg | Pry-rails |
Postgre SQL | Shoulda-matchers |
Bcrypt | Database-cleaner |
Paypal Express | Selenium Driver |
Toastr-rails | Spring |
Semantic-UI | |
Jquery-Rails |
-
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 make booking reservations for flights
- Users can make flight payments via paypal
- Allows registered users to edit and cancel booking reservations.
- Users can search booking reservations via booking reference number
- Instantly notifies users on successful booking reservations or upon update of existing bookings.
- Does not send notifications to users via sms
- Fork it: Fork the flysafe 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