Coder Social home page Coder Social logo

sudarsansridharan16 / airtech-flights Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibutiti/airtech-flights

0.0 1.0 0.0 198 KB

A Django, Django Rest Framework flight booking API for a fictional company Airtech.

License: GNU General Public License v3.0

Dockerfile 0.31% Makefile 0.59% Python 99.10%

airtech-flights's Introduction

Airtech Flight Booking System

An flight booking API for a fictional company Airtech to automate their current spreadsheet based system.

The API is built on Django and Django Rest Framework, Postgres database, Redis queues and caches. It is configured for deployment to AWS.

CircleCI Test Coverage Maintainability Run in Postman

Features

  1. User registration and login
  2. Booking and reserving flight tickets
  3. Online purchase of tickets (stripe payment processing)
  4. Flight status updates
  5. Flight booking updates

Requirements

  • Docker
  • Docker Compose
  • AWS Account

Installation

First setup Docker and Docker Compose on your machine.

Start the Docker daemon.

Run the command make start_logs and the server should start up with the default settings.

The application will be accessible from 0.0.0.0:8000 on your browser or API Client (Such as Postman).

You can configure your own environment variables by making a copy of the .env-sample file and modifying the values on it. The file as is is appropriately setup for the development environment, just rename it to .env.

Useful Commands

  • make start

    Starts the project in the background

  • make start_logs

    Starts the project in the foreground with docker output on the terminal

  • make start_build

    Rebuilds the Docker images and starts the project as in make start_logs

  • make stop

    Stops the Docker containers and cleans up

  • make bash

    Starts a terminal inside the Docker environment

  • make clean

    Stops the Docker containers, cleans up the containers and deletes any .pyc files

  • make shell_plus

    Starts the project and creates an interactive Django shell

  • make psql

    Starts the project and opens psql for postgres

Documentation

The app documentation is accessible here.

airtech-flights's People

Contributors

ibutiti avatar

Watchers

 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.