Skip to content

atakank1999/Airline-Management

Repository files navigation

Airline Management System

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/airline-management.git
    cd airline-management
  2. Set up the environment variables:

    • Copy the example environment file and update it with your configuration.
    cp .env.example .env
  3. Apply the migrations:

    docker compose run --rm web python manage.py migrate
  4. Load initial data (optional):

    docker compose run --rm web python manage.py loaddata airplanes_dump.json #insert dummy airplane data
    docker compose run --rm web python manage.py loaddata flights_dump.json #insert dummy flight data
    docker compose run --rm web python manage.py loaddata reservations_dump.json #insert dummy reservation data
  5. Run the development server:

    docker compose up --build
  6. Import Postman collection to test the API

Usage

  • Access the application at http://127.0.0.1:8000/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published