In this project, I implemented a simple version of twitter-like backend API that includes the following endpoints
-
user authentication (register and login) using jwt
-
users (get, update, and delete)
-
tweets(get, post, delete)
-
retweets, likes, and follows
Here are my key takeaways from this project with the resources I used in the process:
-
fastAPI project structure best practices --> https://github.com/zhanymkanov/fastapi-best-practices?tab=readme-ov-file#project-structure
-
Using fastAPI and sqlmodel to build a simple application --> https://www.youtube.com/watch?v=Ix-ps9MWUKA&t=1907s
-
Dockerizing an application and using github container registery with github actions --> https://www.youtube.com/watch?v=RgZyX-e6W9E&t=281s
-
Designing a restapi --> https://www.youtube.com/watch?v=aumDleTg_UQ&list=PLTCrU9sGybupzS5-3iYTsYUI1emBDKdHu&index=4
-
JWT authentication --> https://www.youtube.com/watch?v=0A_GCXBCNUQ