Rivaan Ranawat
Rivaan Ranawat
  • 66
  • 3 235 165
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
Переглядів: 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
What's New in Dart 3?
Переглядів 28 тис.Рік тому
What's New in Dart 3?
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

КОМЕНТАРІ

  • @TechwithLaughter
    @TechwithLaughter 13 годин тому

    04:09:05 to 05:18:00 for Stateful widget & it's lifecycle.

  • @monkeyDluffy-io3oo
    @monkeyDluffy-io3oo 16 годин тому

    Thanks you brother I learned a lot

  • @user-cj8wx5kc3l
    @user-cj8wx5kc3l 19 годин тому

    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?

  • @pain_equals_growth
    @pain_equals_growth 20 годин тому

    Day 2 2:10:58

  • @Dheeraj-kuma-r
    @Dheeraj-kuma-r 22 години тому

    when is not working with switch statment for me.

  • @blackwolf4096
    @blackwolf4096 22 години тому

    You not add date feature who show on top centre than scroll the screen than update the date based on chat date

  • @yasserhy
    @yasserhy День тому

    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.

  • @cricsort8663
    @cricsort8663 День тому

    What are the prerequisites for this video???

  • @VijayKumar-kv5bx
    @VijayKumar-kv5bx День тому

    Rivaan when I click signup button in signuppage but it also rebuild loginpage why

  • @mazenalsakkaf
    @mazenalsakkaf День тому

    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!

  • @HamzaMalik-wl9ry
    @HamzaMalik-wl9ry 2 дні тому

    57:07 i implemented same animation with Future.delayed ....

    • @HamzaMalik-wl9ry
      @HamzaMalik-wl9ry 2 дні тому

      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), ]), ), ); } }

  • @laele2726
    @laele2726 2 дні тому

    I haven't finished this tutorial yet, but i think you missed to add the Log out feature?

  • @40_virajmhadgut8
    @40_virajmhadgut8 2 дні тому

    the main.go file is not available

  • @qwertyboardd
    @qwertyboardd 2 дні тому

    can i use python for backend??

  • @pain_equals_growth
    @pain_equals_growth 2 дні тому

    1:10:00 Day 1 2:10:58 Day 2

  • @Dipankarr_
    @Dipankarr_ 3 дні тому

    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

  • @ananducs5622
    @ananducs5622 3 дні тому

    03:02:00

  • @Moment95817
    @Moment95817 3 дні тому

    please bring backened course

  • @shreyadenre8164
    @shreyadenre8164 4 дні тому

    Writing the same code but few things are coming under blue line.. Why?

  • @yasserhy
    @yasserhy 5 днів тому

    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

    • @RivaanRanawat
      @RivaanRanawat 4 дні тому

      Can you share your code + the timestamp you're getting this error?

  • @BilalAhmed.0007
    @BilalAhmed.0007 5 днів тому

    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??

    • @RivaanRanawat
      @RivaanRanawat 4 дні тому

      Try running this command - flutter pub upgrade --major-versions

    • @BilalAhmed.0007
      @BilalAhmed.0007 4 дні тому

      @@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.

    • @BilalAhmed.0007
      @BilalAhmed.0007 4 дні тому

      @@RivaanRanawat Now it's showing this

    • @BilalAhmed.0007
      @BilalAhmed.0007 3 дні тому

      @@RivaanRanawat Sorry I import provider wrong by writing "package/provi....." instead of "package:provid......"

    • @BilalAhmed.0007
      @BilalAhmed.0007 3 дні тому

      @@RivaanRanawat Thank for your reply

  • @Ashupal366
    @Ashupal366 5 днів тому

    Sir what about equatable package , you didn't even mentioned it while others are using it

  • @martialartssquad5154
    @martialartssquad5154 5 днів тому

    Bhai mery pas materialstatepropertyAll() nhn mil rha flutter ma

    • @RivaanRanawat
      @RivaanRanawat 4 дні тому

      yeh chal rha hai - WidgetStatePropertyAll?

  • @Michealsmace
    @Michealsmace 6 днів тому

    Please do a video on flutter firebase CRUD ❤ You are really the best india flutter teacher

  • @auro1351
    @auro1351 6 днів тому

    Awesome

  • @AdamPostsHere
    @AdamPostsHere 6 днів тому

    Can you do the same thing, but with livekit?

  • @MissMyMusicAddiction
    @MissMyMusicAddiction 6 днів тому

    20:00 something suddenly changed. i can't put my finger on it

  • @vishnup8719
    @vishnup8719 6 днів тому

    so signOut logic is using AuthBloc or Cubit?

  • @naren5382
    @naren5382 6 днів тому

    12:48:07 System gay 💀

  • @AlexisMG1234
    @AlexisMG1234 7 днів тому

    The accent is not good but the video looks cool

  • @Decem02
    @Decem02 7 днів тому

    i owe you thank you so so so so much

  • @faheemahmad3957
    @faheemahmad3957 7 днів тому

    Kindly make a full course Using GetX version 5 and Clean architecture

  • @faheemahmad3957
    @faheemahmad3957 7 днів тому

    Please make a revices version and Also use GetX 5 and whats new and how to fix all

  • @skullerhood
    @skullerhood 7 днів тому

    This is the only course you need for learning dart and flutter

  • @XuanTruongBui-iq1xf
    @XuanTruongBui-iq1xf 8 днів тому

    I don't understand why so many people praise it, while this is not clean architecture, and MVVM is also wrong in Flutter

  • @someone_visible
    @someone_visible 8 днів тому

    Thank you for such a great tutorial! Which font are you using inside VS code?

    • @RivaanRanawat
      @RivaanRanawat 4 дні тому

      Using the One Dark Pro Molokai Darker theme

    • @someone_visible
      @someone_visible 4 дні тому

      @@RivaanRanawat That's a great theme. But I like the font more 🙃

  • @jebintom5324
    @jebintom5324 8 днів тому

    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

  • @debanjanbhattacharya1692
    @debanjanbhattacharya1692 8 днів тому

    Is Mac with 8gb Ram enough for development in flutter??

  • @yoskokleng3658
    @yoskokleng3658 8 днів тому

    bloc VS riverpod, which one better for large scale application? please tell me and why?. thank you

  • @yasserhy
    @yasserhy 9 днів тому

    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

  • @jayakumar7709
    @jayakumar7709 9 днів тому

    5:09:38

  • @fnaticrecl2916
    @fnaticrecl2916 9 днів тому

    is it public server or private server

  • @SamamaAli-kq9mr
    @SamamaAli-kq9mr 9 днів тому

    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?

  • @kavani5013
    @kavani5013 9 днів тому

    32:50

  • @mazenalsakkaf
    @mazenalsakkaf 9 днів тому

    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!

  • @reymysterio1133
    @reymysterio1133 9 днів тому

    hey its urgent..~ can i start this video today (aug 2024) or is there will be any dependency issue?

  • @yoskokleng3658
    @yoskokleng3658 10 днів тому

    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?

  • @calagiugiorgio7030
    @calagiugiorgio7030 10 днів тому

    Hi ,i have this problem in user_provider.dart _TypeError (Null check operator used on a null value). you can help me?