A FastAPI project to manage and interact with data related to clients, judges, and users.
.
├── api
│ ├── __init__.py
│ ├── clients.py
│ └── judges.py
├── app
│ ├── main.py
│ ├── static
│ │ ├── favicon.ico
│ │ └── main.js
│ ├── templates
│ │ └── index.html
│ └── test.db
├── db
│ ├── __init__.py
│ ├── database.py
│ └── models.py
├── judges.xlsx
├── README.md
├── schemas
│ ├── __init__.py
│ ├── clients.py
│ ├── judges.py
│ └── users.py
├── test.db
└── utils
├── __init__.py
└── get_from_excel.py
-
Clone the repository:
git clone https://github.com/your-username/lawyer_api.git
-
Navigate to the project directory:
cd lawyer_api
-
Install the required packages (preferably in a virtual environment):
pip install -r requirements.txt
-
Navigate to the
app
directory:cd app
-
Run the FastAPI application:
uvicorn main:app --reload
-
Visit
http://localhost:8000
in your browser to access the API documentation and test endpoints.
- Clients Management: Add, retrieve, update, and delete client data.
- Judges Management: Store and manage information related to judges. Includes features like updating a judge's phone based on their name.
- Data Import: Utility functions to extract judge data from Excel (
judges.xlsx
) and populate the database.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.