In this 2 hour tutorial, we’ll be creating our own backend framework in Python from scratch, similar to FastAPI, Express and Django.
📌 Discord Server - / discord
Source Code - https://github.com/RivaanRanawat/pyth...
Timestamps:
(00:00:00) Introduction
(00:01:00) Creating Virtual Environment in Python
(00:03:39) Web Server, WSGI, Function Based WSGI
(00:10:12) WSGI vs ASGI
(00:11:16) Class Based WSGI
(00:17:07) Registering GET Routes when decorator/annotation is noticed
(00:28:13) Calling the GET Route when the path is hit
(00:34:14) Code Recap - How everything works till now?
(00:36:59) Response Class & Why it’s needed
(00:46:53) Adding More HTTP Methods - POST, DELETE etc
(00:53:00) Routing with Dynamic URLs
(01:02:16) Middlewares
(01:02:49) Global Middleware
(01:06:03) Route-specific or Local middleware
(01:12:13) Class Based Routing
(01:25:07) Request Class
(01:32:56) Template Engine
(01:40:03) Code Recap - Understanding Regex in Template Engine
(01:41:53) How is Template Engine useful?
(01:43:03) Conclusion
Connect With Me Here:
GitHub: https://github.com/rivaanranawat
Linkedin: / rivaan-ranawat
Medium: / namanrivaan
X: https://x.com/RanawatRivaan
Instagram: / optimalcoding
コメント