This is a practice project for using FastAPI to build a simple REST API. FastAPI is a modern, fast, web framework for building APIs with Python 3.7+ based on standard Python type hints.
- Python 3.7+
- FastAPI
- Other dependencies (if applicable)
- Clone the repository:
git clone https://github.com/[YOUR_USERNAME]/fastapi-practice.git
- Install the required dependencies:
pip install fastapi
- Run the project:
uvicorn main:app --reload
The API will be available at https://localhost:8000. You can use a tool like Postman or curl to send HTTP requests to the API.
- FastAPI documentation: https://fastapi.tiangolo.com/
- Other documentation (if applicable)
Contributing If you find a bug or have a suggestion for improving the project, please open an issue or submit a pull request.
This project is licensed under the MIT License.