Demo code for the course "Building a REST API with Python 3" on Pluralsight.
There's a commit for each module in the course, as well as a tag:
- Module 2: Getting Started
- Module 3: Creating a datamodel
- Module 3 (end): Created database models, added .env
- Module 4 (end): Api endpoints and unit tests
- Module 5: Exercise: Reading Content from the Filesystem
- Module 5: Exercise: Parsing Frontmatter
- Module 5 (end): Fixed the final unit test
Follow the instructions at https://python-poetry.org/docs/#installation
Check out any specific commit you like.
Inside the project, run poetry install.
The command for this is poetry run python runserver.py.
You can now view the project at http://localhost:8000
For this you run poetry run pytest.