This project is created to assist in learning about FastAPI. It is a simple API example, for clothing list management.
This is a web application writted in Python using FastAPI as framework and SQLAlchemy as ORM. In my tests, I also used a PostgreSQL database.
- Use
virtualenv venv -p python3
to create a python virtual environment to your project. Learn more about it here - Use
source venv /bin/activate
to activate the virtual environment - Use
pip install -r requirements.txt
to install all the required packages
- Use
uvicorn main:app --reload
to run the application - Open http://localhost:8000/docs to view the API documentation and test the methods.