Back to API Development & Testing

Day 5-7: Hands-on CRUD API Project

Apply everything you've learned by building and testing a complete CRUD API for a resource.

3 days

Topics in this Chapter

1

Project Setup & Create (POST)

Set up the FastAPI project and implement the 'Create' functionality with a POST endpoint.

2

Read Operations (GET)

Implement the 'Read' functionality with endpoints to get a list of all resources and a single resource by its ID.

3

Update Operation (PUT)

Implement the 'Update' functionality using a PUT endpoint to replace an existing resource.

4

Delete Operation (DELETE)

Implement the 'Delete' functionality with a DELETE endpoint to remove a resource.

GeekDost - Roadmaps & Snippets for Developers