Skip to content

Yureeets/Ticket_Selling_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirlinesTickets

AirlinesTickets is a Django web application with Django Rest Framework for selling plane tickets.

Table of Contents

Description

AirlinesTickets is a web application built with Django and Django Rest Framework to facilitate the selling of plane tickets. It includes features such as user authentication, ticket booking.

Features

Getting Started

Follow these instructions to get the project up and running on your local machine.

Prerequisites

Before you begin, ensure you have the following software installed on your machine:

  • Python (version 3.8.x recommended)

  • Poetry (version 1.1.x recommended)

    • Poetry is a dependency manager for Python. You can install it using the instructions provided on the Poetry website.

Installation

  1. Clone the repository:

    git clone https://github.com/Yureeets/AirlineTickets-.git
  2. Navigate to the project directory:

    cd AirlinesTickets
  3. Install dependencies with Poetry:

    poetry install
  4. Run migrations:

    poetry run python manage.py migrate
  5. Create a superuser account:

    poetry run python manage.py createsuperuser
  6. Start the development server:

    poetry run python manage.py runserver

Visit http://localhost:8000/ in your browser to access the application.

Usage

in progress

API Documentation

For detailed API documentation, you can use Swagger, which provides a user-friendly interface to explore and interact with the API endpoints.

To access the Swagger documentation:

  1. Ensure your development server is running:

    poetry run python manage.py runserver
  2. Open your web browser and go to:

    http://localhost:8000/swagger/
    

This will open the Swagger UI, allowing you to explore the available endpoints, make requests, and view responses interactively.

Acknowledgments

  • Thanks NULP for this opportunity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages