Quest

Creating a Basic API Server with FastAPI

STATUS Past
TOTAL REWARDS
$750
REWARD AMOUNT
$1
STARTS (GMT +08:00)
ENDS (GMT +08:00)

Learning Outcomes

Upon completing your learning, you will be able to:

  • Understand how FastAPI works
  • Create a Pydantic model
  • Create simple CRUD API routes
  • Use Postman to test your API

Quest Details

Introduction

Previously, you learnt about FastAPI and its capabilities, created your development environment, and deployed a basic FastAPI web application. However, the website currently only returns text upon receiving a GET request. You will be adding more routes than a typical API server would have.

You will learn how to create a basic API that can create, read, update and delete operations for a single data structure. Thereafter, we will be using the Postman application to test our API.

For this quest, you can attempt it using a cloud development environment like Codespaces and Gitpod, or on your local device.

Deliverables

This quest has 1 deliverable.

  1. Screenshot

This quest is part of a campaign so do check out other quests!


Help Center Need help?

Find articles to support you through your journey or chat with our support team.

Help Center