Skip to content

bernard-kanyolo/flyght

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Code Climate Issue Count

FLYGHT

screen shot 2016-10-25 at 11 26 25

screen shot 2016-10-25 at 11 26 55

### INTRODUCTION Flight is a flight management application that allows you to search for flights from around Africa and then book the flight. The live application can be accessed here: http://flyghtrails.herokuapp.com/

Features

Unregistered users

Users who have not created an account on Flyght can do the following:

Find flights by Origin, Destination and Date.

Specify number of passengers for travel

If any flights form that route exist, they can then select the flight for booking.

After specifying a valid email and booking, they will receive an email confirmation

They can view a booking by searching for its confirmation number

Sign up to become registered users

Registered users

In addition to all features for unregistered users, registered users can also:

List all their past bookings

Edit a past booking

Cancel a past booking, if it has not already departed

Local Set Up

To get started with this application locally, you'll need the following technologies:

  • Ruby
  • Git
  • The ruby gem bundler
  • Rspec for testing

Installation

Clone the repository:

$  git clone https://github.com/andela-bkanyolo/flyght.git

Navigate into the directory:

$  cd flyght

Install dependencies

$  bundle install

Create, migrate and seed database

$ bundle exec rake db:setup

Start the server

$ rails server

Visit http://localhost:3000 to view the application on your browser.

Tests

Assuming you have setup the application as stated above, you can run the tests with

$  bundle exec rspec

Contributing

  1. Fork this repository Fork Flyght on Github
  2. Create your feature branch (git checkout -b ft-my-feature)
  3. Commit all your changes
  4. Push to the branch (git push origin ft-my-feature)
  5. Create a new Pull Request

Limitations

  • The application relies on seed data for airports, airlines and flights, hence the data is static and not an actual reprentation of real life flight searching platforms.
  • You can only have a maximum of 10 passengers per booking.
  • The user cannot pay for the flight booking.
  • Due to the above limitations, bookings are just for demonstration purposes and a confirmed booking isn't valid anywhere other than in the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published