Skip to content

API endpoints created in FastAPI to register teams and players, and matches. The data is stored in PostgreSQL DB. The ORM used is SQLAlchemy.

Notifications You must be signed in to change notification settings

scarface414/CricBuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CricBuzz

API endpoints created in FastAPI to register teams and players, and matches. The data is stored in PostgreSQL DB. The ORM used is SQLAlchemy.

DataBase Design

alt text

API Endpoints

alt text alt text

Run the Project

Create a project Folder and clone this Repository

    mkdir cricbuzz
    cd cricbuzz

    git clone <repository_url>

Install the dependencies

    pip install -r requirements.txt

Configure the dbsettings schema in app/schemas.py according to the PGAdmin details of your Postgres DB.

Run init__db.py to create Tables in DB:

python init_db.py

Run the project using uvicorn

    uvicorn main:app --reload

Run add_data.py to add some basic data:

python add_data.py

About

API endpoints created in FastAPI to register teams and players, and matches. The data is stored in PostgreSQL DB. The ORM used is SQLAlchemy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages