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 python3to create a python virtual environment to your project. Learn more about it here - Use
source venv /bin/activateto activate the virtual environment - Use
pip install -r requirements.txtto install all the required packages
- Use
uvicorn main:app --reloadto run the application - Open http://localhost:8000/docs to view the API documentation and test the methods.