Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning FastAPI

In this repo I intend to dive into the intricacies of FastApi framework, while following along to Corey Schafer's guide.

Core technologies learnt:

  • using jinja2 templates
  • styling with bootstrap
  • validation and error handling
  • pydantic schemas & models for data validation
  • using SQLAlchemy ORM
  • performing CRUD(Create, Read, Update, Delete) operations
  • making your app asynchronous
  • routers with APIRouter
  • forms
  • authentication: registration & login
  • authorization: protecting routes
  • file uploads: image processing , validation & storage
  • pagination
  • password resets & background processes
  • database migrations with alembic & PostgreSql
  • moving files to the cloud with AWS S3 & Boto
  • testing with pytest
  • deployment with nginx & custom domains
  • deployment with docker & serverless containers

Detours

  • thorough modularization of the application earlier on. Was accustomed to the good old factory settings from flask, hence applied that methodology here.
  • implement code reusability by defining a "utils" directory, where I placed small Classes & functions for reuse.
  • implement oauth with google

About

the one where I learn fastapi

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages