The Depends-Project demonstrates the use of FastAPI's Depends and Annotated features to manage dependencies within a web application.
Features:
- Utilizes FastAPI's dependency injection system to manage and organize dependencies.
- Demonstrates the use of the
Annotatedfeature for type hinting and dependency declaration.
Technologies Used:
- Python
- FastAPI
Setup and Usage:
-
Clone the repository
git clone https://github.com/Busradeveci/Depends-Project.git
-
Navigate to the project directory
cd Depends-Project -
Install the required dependencies
pip install -r requirements.txt
-
Run the FastAPI application
uvicorn main:app --reload
-
Access the application by navigating to
http://127.0.0.1:8000in your web browser.