WSGI and ASGI
WSGI

ASGI

Creating a simple api
-
Purpose: which returns flats on rent based on filters
- location
- type
-
To acheive this lets make little steps
Step 1: Create a standard folder structure
- Figure out what is standard root (project name)
- Create a repository in github (private) with same name
- clone the repository into local
-
we need to have a folder structure with main.py
-
folder-Name: rentals-api
-
project-name: rentals_api
-
Template for scaffolding Refer Here
-
Refer Here for rentals-api created with scaffolding
-
Exercise: Following this Refer Here create a api with follwing
- get all
- get by id
- create
- update
- delete
- Make a schema change and create a alembic migration
- Ensure everything is async.
- For every change run
lint checks
formatting
unit tests
