This repo covers building a full-fledged API in Python using FastAPI. It is also implemented using the fundamentals of API design including routes, serialization/deserialization, schema validation, and models. It also includes PostgreSQL, testing with pytest, and a CI/CD pipeline using GitHub actions. It also involves Containerization and deployment using Docker
Language - Python
API - FastAPI
Database - PostgreSQL
ORM - SQLAlchemy
Database Migration - Alembic
Images - Docker
Testing - Pytest
CI/CD - Github Actions
Link - https://hub.docker.com/repository/docker/mulwabebop/fastapi
I also deployed the API both on Heroku and Digital Ocean. The documentation is interactive so have fun creating and deleting posts.
Demo:
Heroku: https://natu-social.herokuapp.com/docs/
Website : https://natu-social.xyz/docs