This repo has the complete version of the code for this tutorial.
- Run
python3 -m venv env-nameon Unix and macOS orpython -m venv env-nameon Windows to create a virtual environment. Replaceenv-namewith whatever name you chose for your virtual environment. - Run
source env-name/bin/activateon Unix and macOS or.\env-name\Scripts\activateon Windows to activate the virtual environment. - Run
pip install -r requirements.txtto install project dependencies - Navigate into your project's root directory in the terminal and run
pytestto run the test cases
- Run
uvicorn app.main:app --reloadto fire up your development server. - Point your browser to
localhost:8000/docsto test things out in your browser