Skip to content

This project is a demonstration of building a backend for a ticket booking application using FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+.

License

Notifications You must be signed in to change notification settings

GunalanD95/bookmyshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookMyShow FastAPI Project

Overview

This project is a demonstration of building a backend for a ticket booking application using FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+ with postgres as database.

Directory Structure

bookmyshow/
│
├── .env/ # Directory for environment variables
├── app/ # Main application directory
│ ├── api/ # API routers and handlers
│ ├── dependencies/ # Dependencies for the project
│ ├── models/ # Database models
│ ├── repo/ # Data access layer
│ ├── schemas/ # Pydantic schemas for data validation
│ ├── settings.py # Application settings
│ ├── init.py
│ └── main.py # Main FastAPI application entry point
│
├── .gitignore # Git ignore file
├── LICENSE # License file
├── README.md # This README file
└── bookmyshow - public.png # BookMyShow logo

Schema Design

Schema Design

Setup and Installation

  1. Clone the repository:
git clone https://github.com/GunalanD95/bookmyshow
  1. Activate the virtual environment:
  • On Windows:
    venv\Scripts\activate
    
  • On macOS and Linux:
    source venv/bin/activate
    
  1. Install dependencies:
pip3 install requirements.txt
  1. Set up environment variables:
  • Create a .env file in the root directory.
  • Add necessary environment variables.
  1. Run the application:
uvicorn app.main:app --reload

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

About

This project is a demonstration of building a backend for a ticket booking application using FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages