https://github.com/palwisha-18/fastapi_fundamentals
PluralSight FastAPI Fundamentals course exercise
https://github.com/palwisha-18/fastapi_fundamentals
fastapi pydantic python3 sqlmodel
Last synced: about 2 months ago
JSON representation
PluralSight FastAPI Fundamentals course exercise
- Host: GitHub
- URL: https://github.com/palwisha-18/fastapi_fundamentals
- Owner: Palwisha-18
- Created: 2022-11-28T19:32:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T01:06:37.000Z (over 3 years ago)
- Last Synced: 2025-04-05T11:24:00.552Z (about 1 year ago)
- Topics: fastapi, pydantic, python3, sqlmodel
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Implementation of Car Sharing App using FastAPI
This Car Sharing app is built as part of the FastAPI Fundamentals Course on Pluralsight by Reindert-Jan Ekker.
The app includes several endpoint to add, edit and remove cars as well as add trips for each car.
All the data is stored in a database using mobile classes written using a library called SQLModel.
User authentication is added via OAuth2 and endpoints are tested using pytest.
### Learnings from the course:
- How to build a REST APIs with FastAPI
- Writing schemas using pydantic models and learnt about FastAPI's automatic data validation and conversion
- Integrating SQLModel
- Dealing with Session, APIRouter, Middleware, Headers and Cookies
- Adding OAuth2 authentication, serving HTML pages, and processing HTML form data
- Unit testing using pytest, TestClient and Mock
- Deployment using gunicorn and nginx