Giter VIP home page Giter VIP logo

flight-booking-api's Introduction

Coverage Status CircleCI License: MIT

flight-booking-api

A flight booking API that enables a user to log in, upload passport photographs, book tickets, receive tickets as an email, check the status of their flight and make flight reservations purchase tickets.

Prerequisites

  • Clone the repo.
  • Change into the directory $ cd /flight-booking-api
  • Create a .env file in your root directory as described in .env.sample file.
  • Install Python 3.7.x
  • To setup pyenv run the following commands:
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
Run $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
source ~/.bashrc

To install pipenv

Run pip install pipenv

Installing

To install dependences run the command below

pipenv install

Runnning the app

To run the application:

  • Run migrations
python manage.py migrate
  • Start the server
Python manage.py runserver

Running the tests

pipenv run test

Built With

Contributing

  • Fork this repository to your GitHub account
  • Clone the forked repository
  • Create your feature branch
  • Commit your changes
  • Push to the remote branch
  • Open a Pull Request

Authors

  • Oluwatosin Akinola

License

This project is licensed under the MIT License - see the LICENSE.md file for details

flight-booking-api's People

Contributors

tosmak16 avatar

Stargazers

 avatar

Watchers

James Cloos 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.