![Rivaan Ranawat](/img/default-banner.jpg)
- 66
- 3 235 165
Rivaan Ranawat
India
Приєднався 23 лип 2014
I like to code.
Create Your Own Backend Framework (like FastAPI, Express, Flask) using Python
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.gg/Q8Rx8YWFVF
Source Code - github.com/RivaanRanawat/python-backend-framework
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: github.com/rivaanranawat
Linkedin: www.linkedin.com/in/rivaan-ranawat
Medium: namanrivaan.medium.com
X: x.com/RanawatRivaan
Instagram: optimalcoding
📌 Discord Server - discord.gg/Q8Rx8YWFVF
Source Code - github.com/RivaanRanawat/python-backend-framework
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: github.com/rivaanranawat
Linkedin: www.linkedin.com/in/rivaan-ranawat
Medium: namanrivaan.medium.com
X: x.com/RanawatRivaan
Instagram: optimalcoding
Переглядів: 3 057
Відео
Flutter Spotify Clone - MVVM Architecture Full Course For Beginners | Python, FastAPI, Riverpod
Переглядів 39 тис.2 місяці тому
In this 10 hour tutorial, we'll be building a music streaming app very similar to Spotify using the MVVM Architecture. In this project, we'll be using Flutter for the app's frontend, FastAPI for the backend, PostgreSQL for the database, Hive for local data storage and Riverpod (Generators) for state management. Prerequisites: Dart and Flutter Basics - ua-cam.com/video/CzRQ9mnmh44/v-deo.htmlfeat...
Build Your Own Web Server from Scratch using Python!
Переглядів 7 тис.4 місяці тому
In this tutorial, we'll be creating our own simple HTTP web server from scratch using Python. GitHub Repository (Make it Public) - github.com/RivaanRanawat/web-server-python Ipv4 vs ipv6 article - convesio.com/blog/wordpress-innovation/ipv4-vs-ipv6-a-comprehensive-comparison-of-internet-protocols/ 📌 Discord Server - discord.gg/Q8Rx8YWFVF Timestamps (00:00) Introduction (01:01) What is a Web Ser...
Flutter Clean Architecture Full Course For Beginners - Bloc, Supabase, Hive, GetIt
Переглядів 149 тис.5 місяців тому
In this 7 hour tutorial, we will learn about Clean Architecture in Flutter by building a full stack application. We will learn about SOLID Principles and its usage in Clean Architecture, Bloc & Cubit State Management, Supabase, get_it and the need for dependency injection. Prerequisites: Dart & Flutter Basics Flutter version: 3.19.1 Code Reviewer - github.com/NonymousMorlock Clean Architecture ...
The First Step To Clean Architecture | Flutter SOLID Principles
Переглядів 16 тис.6 місяців тому
Dive deep into the SOLID Principles and understand how to convert your code from spaghetti to something other engineers can contribute to! We'll be using Dart(Flutter) to demonstrate the code examples however this video is independent of any programming language. 📌 Discord Server - discord.gg/Q8Rx8YWFVF Timestamps: (00:00:00) Introduction (00:01:00) S (00:05:34) O (00:13:11) L (00:18:07) I (00:...
Python For Beginners - 10 Hour Course [2024]
Переглядів 5 тис.7 місяців тому
Welcome to this Python Course For Beginners [2024]! In this comprehensive tutorial, I explain concepts and make sure you understand them using visualisations. Along with the topics I cover in the video (can be found in the timestamps), I help you build logic through challenges and exercises. I first give challenge you to do it on your own. If you’re not able to do it, I give the solution with t...
Flutter Bloc Tutorial For Beginners | BLoC Architecture/Pattern & State Management Explained
Переглядів 92 тис.9 місяців тому
In this course, we will learn about the Flutter Bloc State Management Tool along with the BLoC Architecture/Pattern by creating 4 Projects using Flutter! We will learn about Bloc, Cubit, BlocProvider, BlocBuilder, BlocConsumer, BlocListener, RepositoryProvider, BlocObserver and various methods and functionalities they offer. Along with that, we'll learn about Bloc vs Cubit, understanding when t...
Ep.2 - Arrays & Hashing | Data Structures and Algorithms | DSA in Python
Переглядів 1,9 тис.9 місяців тому
Welcome to the second video in our Data Structures and Algorithms (DSA) series! In this video, we will be solving 4 leetcode medium problems. Problems are selected from @NeetCode 's Roadmap which includes the famous 75 Blind questions along with 75 of his own selected questions. 📌 Discord Server - discord.gg/Q8Rx8YWFVF Resources: Neetcode roadmap - neetcode.io/roadmap Neetcode UA-cam - @NeetCod...
Ep.1 - Arrays & Hashing | Data Structures and Algorithms | DSA in Python
Переглядів 7 тис.10 місяців тому
Welcome to the first video in our Data Structures and Algorithms (DSA) series! In this series, we will be going through different data structures and algorithms by diving into leetcode problems and understanding the core concepts. Problems are selected from @NeetCode 's Roadmap which includes the famous 75 Blind questions along with 75 of his own selected questions. In this video, we will brief...
Flutter Animations Tutorial For Beginners
Переглядів 35 тис.11 місяців тому
Flutter Animations Tutorial For Beginners
The Complete Dart & Flutter Developer Course | Full Tutorial For Beginners to Advanced
Переглядів 673 тис.Рік тому
The Complete Dart & Flutter Developer Course | Full Tutorial For Beginners to Advanced
Flutter Tutorial For Beginners in 13 Hours
Переглядів 157 тис.Рік тому
Flutter Tutorial For Beginners in 13 Hours
Dart Programming Tutorial For Absolute Beginners | Master Dart In 8 Hours | Flutter Tutorial Pt 1
Переглядів 157 тис.Рік тому
Dart Programming Tutorial For Absolute Beginners | Master Dart In 8 Hours | Flutter Tutorial Pt 1
Build a Flutter Voice Assistant App with ChatGPT & Dall-E AI Image Generation | Machine Learning
Переглядів 90 тис.Рік тому
Build a Flutter Voice Assistant App with ChatGPT & Dall-E AI Image Generation | Machine Learning
Flutter Integration Testing Tutorial For Beginners - Practical Guide
Переглядів 15 тис.Рік тому
Flutter Integration Testing Tutorial For Beginners - Practical Guide
Flutter Widget Testing Tutorial For Beginners - Practical Guide
Переглядів 17 тис.Рік тому
Flutter Widget Testing Tutorial For Beginners - Practical Guide
Flutter Unit Testing Tutorial For Beginners - Practical Guide
Переглядів 35 тис.Рік тому
Flutter Unit Testing Tutorial For Beginners - Practical Guide
Master Flutter, Appwrite & Riverpod: Build a Twitter Clone | Flutter Project with Backend Tutorial
Переглядів 64 тис.Рік тому
Master Flutter, Appwrite & Riverpod: Build a Twitter Clone | Flutter Project with Backend Tutorial
Ep.6 - Adapter | Flutter Design Patterns
Переглядів 7 тис.Рік тому
Ep.6 - Adapter | Flutter Design Patterns
Build Your Own Custom Code Generator in Flutter | Flutter Code Generation
Переглядів 13 тис.Рік тому
Build Your Own Custom Code Generator in Flutter | Flutter Code Generation
Build a Fully Responsive Modern Login UI with Flutter
Переглядів 30 тис.Рік тому
Build a Fully Responsive Modern Login UI with Flutter
Ep.4 - Prototype | Flutter Design Patterns
Переглядів 5 тис.Рік тому
Ep.4 - Prototype | Flutter Design Patterns
Ep.3 - Singleton | Flutter Design Patterns
Переглядів 9 тис.Рік тому
Ep.3 - Singleton | Flutter Design Patterns
Why Not GetX: Truth About Disadvantages of GetX
Переглядів 18 тис.Рік тому
Why Not GetX: Truth About Disadvantages of GetX
Ep.2 - Abstract Factory | Flutter Design Patterns
Переглядів 7 тис.Рік тому
Ep.2 - Abstract Factory | Flutter Design Patterns
Ep.1 - Factory Method Pattern | Flutter Design Patterns
Переглядів 22 тис.Рік тому
Ep.1 - Factory Method Pattern | Flutter Design Patterns
Flutter Design Patterns Ep. 0 - Introduction & Overview
Переглядів 20 тис.Рік тому
Flutter Design Patterns Ep. 0 - Introduction & Overview
Flutter Riverpod 2 Tutorial for Beginners | Riverpod Generator
Переглядів 77 тис.Рік тому
Flutter Riverpod 2 Tutorial for Beginners | Riverpod Generator
Flutter Navigator 2.0 Tutorial for Beginners - Go Router
Переглядів 20 тис.Рік тому
Flutter Navigator 2.0 Tutorial for Beginners - Go Router
04:09:05 to 05:18:00 for Stateful widget & it's lifecycle.
Thanks you brother I learned a lot
i have issue in data layer because the limit is over of mail but loading is still on how can i handle this? Server Exception AuthException(message: Email rate limit exceeded, statusCode: 429, errorCode: over_email_send_rate_limit) when get the error so it go to error state direct?
Day 2 2:10:58
when is not working with switch statment for me.
You not add date feature who show on top centre than scroll the screen than update the date based on chat date
Rivaan, your videos are actually helpy me build my dream app and I cannot thank you enough. I have a request to ask you. PLEASE PLEASE PLEASE make a video to help developers choose between different backends (specially Firebase and Supabase). Choosing the correct backend is a crucial decision and many new developers can get stuck with a backend that later they will regret. It will be really amazing if we got get some advice from a real developer like yourself who actually worked on both and developed production apps.
What are the prerequisites for this video???
Rivaan when I click signup button in signuppage but it also rebuild loginpage why
Yo, Rivaan, this course is straight fire! 🔥🔥🔥 I've learned so much from it. It's way better than any paid course I've seen. You're a total legend for breaking down complex topics in such a simple way. Keep up the amazing work!
57:07 i implemented same animation with Future.delayed ....
import 'package:flutter/material.dart'; void main(List<String> args) { runApp(MyApp()); } class MyApp extends StatefulWidget { MyApp({super.key}); @override State<MyApp> createState() => _MyAppState(); } class _MyAppState extends State<MyApp> { double size = 10; @override Widget build(BuildContext context) { Future.delayed(Duration(seconds: 2), () { setState(() { size = 200; }); }); return Center( child: AnimatedContainer( duration: Duration(milliseconds: 1500), height: size, width: size, decoration: BoxDecoration( shape: BoxShape.circle, color: Colors.blue.withOpacity(0.5), boxShadow: [ BoxShadow( color: Colors.blue, blurRadius: size, spreadRadius: size / 2), ]), ), ); } }
I haven't finished this tutorial yet, but i think you missed to add the Log out feature?
the main.go file is not available
can i use python for backend??
1:10:00 Day 1 2:10:58 Day 2
14:33:22 windows multi-caret feature: Place your cursor on the first line While holding Alt + Shift, click on the additional lines you want to add carets to
03:02:00
please bring backened course
Writing the same code but few things are coming under blue line.. Why?
Those are warnings
Unfortunately, my app broke at the end with the error message "Failed to lookup symbol 'isar_version' . I followed the instructions and nothing is working. It seems that there is an issue with this library since it is not released yet
Can you share your code + the timestamp you're getting this error?
19:22:41 provider not installing "7 packages have newer versions incompatible with dependency constraints." with 7 packages not up to date List collection 1.18.0 (1.19.0 available) leak_tracker 10.0.5 (10.0.7 available) leak_tracker_flutter_testing 3.0.5 (3.0.8 available) material_color_utilities 0.11.1 (0.12.0 available) string_scanner 1.2.0 (1.3.0 available) test_api 0.7.2 (0.7.3 available) vm_service 14.2.4 (14.2.5 available) any solution on how to update??
Try running this command - flutter pub upgrade --major-versions
@@RivaanRanawat Downloading packages... collection 1.18.0 (1.19.0 available) leak_tracker 10.0.5 (10.0.7 available) leak_tracker_flutter_testing 3.0.5 (3.0.8 available) material_color_utilities 0.11.1 (0.12.0 available) string_scanner 1.2.0 (1.3.0 available) test_api 0.7.2 (0.7.3 available) vm_service 14.2.4 (14.2.5 available) No dependencies changed. 7 packages have newer versions incompatible with dependency constraints.
@@RivaanRanawat Now it's showing this
@@RivaanRanawat Sorry I import provider wrong by writing "package/provi....." instead of "package:provid......"
@@RivaanRanawat Thank for your reply
Sir what about equatable package , you didn't even mentioned it while others are using it
Bhai mery pas materialstatepropertyAll() nhn mil rha flutter ma
yeh chal rha hai - WidgetStatePropertyAll?
Please do a video on flutter firebase CRUD ❤ You are really the best india flutter teacher
Awesome
Can you do the same thing, but with livekit?
20:00 something suddenly changed. i can't put my finger on it
so signOut logic is using AuthBloc or Cubit?
12:48:07 System gay 💀
The accent is not good but the video looks cool
i owe you thank you so so so so much
You're welcome!
Kindly make a full course Using GetX version 5 and Clean architecture
Please make a revices version and Also use GetX 5 and whats new and how to fix all
This is the only course you need for learning dart and flutter
I don't understand why so many people praise it, while this is not clean architecture, and MVVM is also wrong in Flutter
Thank you for such a great tutorial! Which font are you using inside VS code?
Using the One Dark Pro Molokai Darker theme
@@RivaanRanawat That's a great theme. But I like the font more 🙃
I have been doing it on windows the speech recognition is not working and when I import the packages it shows url doesn't matches I have tried so much but I couldn't get a solution.later I found that it is not working on windows is there any speech recognition packages that works on windows as well I am running this on chrome
Is Mac with 8gb Ram enough for development in flutter??
Yep
bloc VS riverpod, which one better for large scale application? please tell me and why?. thank you
I know that most dart developers will use the "imp" as a keyword for the implementation, but coming from a C# background, I prefer using the "I" for the interface and the normal name for the implementation. I found it very helpful while following along with this course. So, the IAuthRemoteDataSources will be for the interface and the AuthRemoteDataSource will be for the implementation, as an example
5:09:38
is it public server or private server
So Rivaan after almost three years, is there a better way to make responsive UI where you dont have to make multiple screens and code?
32:50
Woohoo! I just finished the course. Thanks a million for such a great resource. It was easy to understand and comprehensive at the same time. By any chance, have you recorded a video on Isolates in Dart? If so, I'd love to watch it. Thanks again!
hey its urgent..~ can i start this video today (aug 2024) or is there will be any dependency issue?
Your're teaching us to code like a senior level. thank you a lot. i see you damn good with postgresql. Could u teach us from scratch to advance level?
Hi ,i have this problem in user_provider.dart _TypeError (Null check operator used on a null value). you can help me?