What You Will Learn
Learn the fundamentals of building a web service with FastAPI and put them into practice. Beyond API syntax, you will work through how a service stores data and interacts with its users, one step at a time.
Learning Goals
-
FastAPI Fundamentals
Learn how to create a FastAPI application and run a development server. Connect Python functions to request paths and HTTP methods, then build APIs that accept request data and return responses.
-
CRUD with FastAPI
Build a simple blog with features for creating, reading, updating, and deleting posts. Along the way, learn how CRUD (Create, Read, Update, Delete) operations work in FastAPI.
-
Working with a Database
Learn how to manage your service's data in a database. Use SQLite and SQLAlchemy to store, retrieve, and update data.
-
Sign-Up and Login
Implement account registration and authentication so users can sign up and log in. Use JWTs to identify authenticated users and control access to features based on who they are.
By the end of this course, you will have built a simple blog with user accounts.