- 235
- 554 275
Eric Roby
United States
Приєднався 18 вер 2020
Python programming in a nutshell. Or maybe a better definition would be backend Python programming.
I make learning tech fun and easy! I answer YOUR How To questions.
You will get tips, how to, learn to code and be able to create your own coding projects - all in a simple explanation to help you learn and grow!
🖥️ Programming & Computer Science Tutorials is what we do here: Step-by-step lessons on Python, FastAPI, Django, librarie, databases and more.
Welcome to Codingwithroby 🚀
#codingwithroby #coding #python
I make learning tech fun and easy! I answer YOUR How To questions.
You will get tips, how to, learn to code and be able to create your own coding projects - all in a simple explanation to help you learn and grow!
🖥️ Programming & Computer Science Tutorials is what we do here: Step-by-step lessons on Python, FastAPI, Django, librarie, databases and more.
Welcome to Codingwithroby 🚀
#codingwithroby #coding #python
Connect Amazon RDS to FastAPI [Complete Cloud Guide]
Create a cloud Amazon RDS PostgreSQL database and connect it to your FastAPI application easy. This step-by-step tutorial will teach you everything you need to know for FREE.
NOTE: FastAPI CLI requires version 0.111.0.
💻 Repository: www.codingwithroby.io/get-repo/fastapi-rds
Want MORE free repositories? www.codingwithroby.com/freebies
🎥 React + FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html
🎥 AWS Lambda + FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html
🎥 MongoDB + FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html
🎥 MySQL + FastAPI: ua-cam.com/video/zzOwU41UjTM/v-deo.html
🎥 PostgreSQL + FastAPI: ua-cam.com/video/398DuQbQJq0/v-deo.html
🎓 Courses can be found:
Deploy React+FastAPI to AWS: www.udemy.com/course/deploy-fastapi-fullstack-amazon-cloud-aws/?referralCode=706861EF28A616B36FEC
FastAPI Beginner & Advanced: www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59
Learn Chatbot Development: www.udemy.com/course/the-complete-chatbot-bootcamp/?referralCode=2654798EE9F9998023B9
👨💻 Hi, I am Eric!👨💻
Hey! I’m a seasoned developer and cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!
🙏 Support The Channel 🙏
If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍
#python #fastapi #rds
NOTE: FastAPI CLI requires version 0.111.0.
💻 Repository: www.codingwithroby.io/get-repo/fastapi-rds
Want MORE free repositories? www.codingwithroby.com/freebies
🎥 React + FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html
🎥 AWS Lambda + FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html
🎥 MongoDB + FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html
🎥 MySQL + FastAPI: ua-cam.com/video/zzOwU41UjTM/v-deo.html
🎥 PostgreSQL + FastAPI: ua-cam.com/video/398DuQbQJq0/v-deo.html
🎓 Courses can be found:
Deploy React+FastAPI to AWS: www.udemy.com/course/deploy-fastapi-fullstack-amazon-cloud-aws/?referralCode=706861EF28A616B36FEC
FastAPI Beginner & Advanced: www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59
Learn Chatbot Development: www.udemy.com/course/the-complete-chatbot-bootcamp/?referralCode=2654798EE9F9998023B9
👨💻 Hi, I am Eric!👨💻
Hey! I’m a seasoned developer and cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!
🙏 Support The Channel 🙏
If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍
#python #fastapi #rds
Переглядів: 124
Відео
How to build a NextJS + FastAPI application (step-by-step tutorial)
Переглядів 6 тис.21 день тому
NextJS, FastAPI, SQLAlchemy, JWT all in a 90 minute tutorial building a full-stack web application. We'll be using NextJS for the frontend, FastAPI for the backend, and JWTs for authentication, supported by SQLAlchemy and Pydantic. NOTE: FastAPI CLI requires version 0.111.0. 💻 Repository: www.codingwithroby.io/get-repo/fastapi-nextjs Want MORE free repositories? www.codingwithroby.com/freebies ...
FastAPI vs Django - The Ultimate Showdown! (Detailed Comparison)
Переглядів 7 тис.Місяць тому
FastAPI and Django are two major Python frameworks for building your products. But the big question remains: which one is BEST for YOU? Want free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL FastAPI: ua-cam.com...
How to build a Vue + FastAPI application (with JWT authentication)
Переглядів 2,8 тис.2 місяці тому
Both FastAPI and Vue are becoming more popular every single day. In this video we will learn how to build a full stack application along with authentication leveraging both of these amazing technologies. 💻 Git Repository: www.codingwithroby.io/get-repo/vue-fastapi 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB Fas...
Deploy FastAPI on Vercel | Quick and Easy Tutorial
Переглядів 6 тис.3 місяці тому
Deploying FastAPI on Vercel is easy. You don't need to be a pro developer to get FastAPI running for the world to use! Quick tutorial under 6 minutes. 💻 Git Repository: www.codingwithroby.io/get-repo/vercel-fastapi Download Node.js (for npm): nodejs.org/en 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua...
Why You Should Learn FastAPI Today
Переглядів 6 тис.3 місяці тому
FastAPI is an amazing framework to build RESTful applications or full stack applications. In this video I will give you quick overview of why you should learn FastAPI today. 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL FastAPI: ua-cam.com/video/zzOwU41UjTM...
JWT Authentication for React and FastAPI (easy with code)
Переглядів 7 тис.3 місяці тому
JWT is a popular way to implement authentication. React and FastAPI are two of the most popular frameworks for building software. We will create a simple login screen in React and authenticate using FastAPI. 💻 Git Repository: www.codingwithroby.io/get-repo/fastapi-react-auth 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 ...
Learn Docker to Make Deployment Easy (step-by-step)
Переглядів 2,1 тис.4 місяці тому
Docker allows us to keep our local environment similar to our production environment. We will use FastAPI along with Docker and python to create a professional environment easy! 💻 Git Repository: www.codingwithroby.io/get-repo/fastapi-docker 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/...
Learn Middleware by Building a REAL Project (fastapi rate limiting)
Переглядів 3,8 тис.4 місяці тому
In this FastAPI tutorial we will implement a rate limiter to protect our app endpoints from different hacking attacks (brute force, DOS, DDOS). 💻 Git Repository: www.codingwithroby.io/get-repo/fastapi-middleware 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL...
Design Scalable Apps with CQRS and FastAPI (easy)
Переглядів 2 тис.4 місяці тому
CQRS with FastAPI makes an application clean, modular and scalable. In this tutorial I walk you through how to create a modern FastAPI application. 💻 Git Repository: www.codingwithroby.io/get-repo/fastapi-cqrs 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL F...
Staying Motivated While Learning Software Engineering
Переглядів 1624 місяці тому
Everyone wants to be a software engineer but how do you stay motivated. There is so much to learn and consistency is key, but what else? 🎥 How I Remember Everything When Learning to Code: ua-cam.com/video/50jc0BTurvQ/v-deo.html 🎥 4 Things No One Tells You About Coding Interviews: ua-cam.com/video/AylAokJBRZU/v-deo.html 🎥 Get Your Dream Coding Job: ua-cam.com/video/Rmt0cDGenKQ/v-deo.html 🎥 5 Tip...
These 7 Software Engineering Skills Give An Unfair Advantage
Переглядів 6565 місяців тому
Software Engineering is very competitive and everyone wants to stand out. In this video we will be sharing unfair advantages that will take your Software Engineering ability to the next level. 🎥 How I Remember Everything When Learning to Code: ua-cam.com/video/50jc0BTurvQ/v-deo.html 🎥 4 Things No One Tells You About Coding Interviews: ua-cam.com/video/AylAokJBRZU/v-deo.html 🎥 Get Your Dream Cod...
9 Software Engineering Myths Wasting Your Time
Переглядів 1,8 тис.6 місяців тому
Software Engineering as a lot of myths that need to be explained. In this video we will walk through the top software engineering myths that are simply not true. 🎥 How I Remember Everything When Learning to Code: ua-cam.com/video/50jc0BTurvQ/v-deo.html 🎥 4 Things No One Tells You About Coding Interviews: ua-cam.com/video/AylAokJBRZU/v-deo.html 🎥 Get Your Dream Coding Job: ua-cam.com/video/Rmt0c...
7 Actionable Tips to Become Great at Software Engineering
Переглядів 3257 місяців тому
Great software engineers are great at software engineering. In this video we will be going over 7 actionable tips on how to level up your software engineering ability. 🎥 How I Remember Everything When Learning to Code: ua-cam.com/video/50jc0BTurvQ/v-deo.html 🎥 How To Get Ahead of 99% of Software Engineers: ua-cam.com/video/sp4qN91GUuU/v-deo.html 🎥 10 Signs of an Inexperienced Programmer: ua-cam...
How I Would Learn Software Engineering Fast (from Zero Experience)
Переглядів 1 тис.7 місяців тому
Learning software engineering has never been easier. In this guide I will give you my 5 tips on how to successfully become a software engineer. 🎥 How I Remember Everything When Learning to Code: ua-cam.com/video/50jc0BTurvQ/v-deo.html 🎥 4 Things No One Tells You About Coding Interviews: ua-cam.com/video/AylAokJBRZU/v-deo.html 🎥 Get Your Dream Coding Job: ua-cam.com/video/Rmt0cDGenKQ/v-deo.html ...
Why 97% FAIL to Learn Software Engineering
Переглядів 3228 місяців тому
Why 97% FAIL to Learn Software Engineering
Fastest Way to Learn Software Engineering in 2024
Переглядів 1,1 тис.8 місяців тому
Fastest Way to Learn Software Engineering in 2024
How to Get Ahead of 99% of Software Engineers (starting today)
Переглядів 3 тис.8 місяців тому
How to Get Ahead of 99% of Software Engineers (starting today)
How I Remember Everything When Learning to Code
Переглядів 1,5 тис.8 місяців тому
How I Remember Everything When Learning to Code
10 Signs of an Inexperienced Programmer and How Not to Be One
Переглядів 2,5 тис.8 місяців тому
10 Signs of an Inexperienced Programmer and How Not to Be One
4 Things No One Tells You About Coding Interviews (and how you can improve today)
Переглядів 3169 місяців тому
4 Things No One Tells You About Coding Interviews (and how you can improve today)
50 Career MISTAKES as a Software Engineer!
Переглядів 3129 місяців тому
50 Career MISTAKES as a Software Engineer!
5 Tips to Get an Entry Coding Job (without Leetcode)
Переглядів 3909 місяців тому
5 Tips to Get an Entry Coding Job (without Leetcode)
Please DO NOT use PRINT statements: Python Logging Tutorial
Переглядів 2,1 тис.9 місяців тому
Please DO NOT use PRINT statements: Python Logging Tutorial
2x Your Efficiency | Boost I/O with Python Threading
Переглядів 7899 місяців тому
2x Your Efficiency | Boost I/O with Python Threading
Get Your DREAM Software Engineer Job by Doing This
Переглядів 25610 місяців тому
Get Your DREAM Software Engineer Job by Doing This
3 Python Tricks You Need to Know (don't be a python noob)
Переглядів 62710 місяців тому
3 Python Tricks You Need to Know (don't be a python noob)
Python Unit Testing | FastAPI with Pytest Tutorial (fast & easy)
Переглядів 13 тис.10 місяців тому
Python Unit Testing | FastAPI with Pytest Tutorial (fast & easy)
Protect YOUR Application! How HACKERS Login Without Passwords
Переглядів 1,6 тис.10 місяців тому
Protect YOUR Application! How HACKERS Login Without Passwords
Real Time Chat Room Made Easy! | FastAPI Tutorial
Переглядів 15 тис.10 місяців тому
Real Time Chat Room Made Easy! | FastAPI Tutorial
Very perfect timing for me too. A while back I got into React and FastAPI combo watching your tutorial and now this step was missing. Thanks for this man! Much Appreciated.
Here’s the weird thing Roby, I was literally looking for this on UA-cam a couple hours ago and boom you drop it! I don’t know what to say!! 😂
Hah, that is awesome! We must have read each others mind.
thanks, man! the node 18.x version set python 3.9 version. There is a way to use python 3.12, which is the default, while using node 18.x?
ˈskēmə
CORS is not really for protecting the server, it is something implemented in the browser to avoid pages making cross-requests. You can download a plug-in for firefox to ignore CORS headers for example.
Thanks for the additional context that can help others!
Thank you. I just know nothing about js and I found some issues installing react. Ultimately it works.
Glad to hear it is working!
Is there a way to deploy react with this API?
Yeah - I got you: www.udemy.com/course/deploy-fastapi-fullstack-amazon-cloud-aws/?referralCode=706861EF28A616B36FEC
I love it. I admit at the beginning with no experience this was extremely challenging, but I managed to follow through. Thank you.
Great job! You're the best
I built api that is using websockets and post/get requests. Now where to deploy it? I tried on vercel, all other endpoints work well but websockets don't work.
You will want to deploy on AWS or something similar.
Does vercel support websockets?
Nope - they are serverless.
Why use while true
Do I need to enable CORS for the fastAPI or when I deploy it on aws it will allow me to send external requests?
Most likely depending on what you are trying to achieve.
Thanks, Eric!
You are welcome!
Hi. Great video! I have a question, in case that we are calling to sync func that doesn't have await (in await call_next(req)) - the app is not processing other requests until this request finishes?
Nope, it still processes requests. The first await will continue to be consumed.
Hey Eric, great video. I'm slowly working towards getting this deployed to Heroku, and they require SSL. Unfortunately that screws up the local DB development environment connection, so I came up with a solution that I hope works when I deploy. Heroku uses os.environ['DATABASE_URL] to set the database URL, so for development, I also saved a system variable for my local connection. To get around SSL, I saved an additional local connection variable in .env, and the process checks if the system variable matches the .env variable. If it does, then it's local, and can drop the SSL: from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base from dotenv import load_dotenv import os load_dotenv() DATABASE_URL = os.environ['DATABASE_URL'] DATABASE_LOCAL = os.getenv('DATABASE_LOCAL') if (DATABASE_URL == DATABASE_LOCAL): engine = create_engine(DATABASE_URL) else: engine = create_engine(DATABASE_URL, connect_args={"sslmode": "require"}) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) Base = declarative_base() --- Anyway, no idea if this will work. Fingers crossed
Thank you very much :)
You're welcome!
turn down your music it's annoying
I removed it in future videos.
Hey, can I ask what camera setup you have. It looks so clean!
Thank you for the kind words! I use the Sony A7C camera + G Master FE 24mm F1.4 Lens 🙂
سلام.مرتیکه کله کیری برداشتی کد ها خود داکیومنت رو اوردی چی کسشر بلغور میکنی..باگ اینجاست که شما با اون توکن نمیتونی لاگین کنی حالا برو او توکنو بکن به تو کونت. اینو که بچه مهد کودکی هم بلده ..اگر مردی بیا حال اتورایزیشن رو روی jwt تنظیم کن.مرد اینه نه تو دیوث..اه
Great tutorial, thank you for all your efforts!
I really appreciate it!
can i integrate a python chatbot. If yes then how ?
What do you mean? This video is using FastAPI a python framework
The background music was unnecessary.
It’s not there for future videos
@@codingwithroby Thank you brother. Now that you replied back, I am feeling bad for being rude. Great work by the way. Learned from you. ❤
@@alexpyofficial lol all good dude
I converted your tutorial to async sqlalchemy.
Nice work!
Very nice tutorial, but as someone who watches a lot of tutorials - please consider speeding up the "typing part" of your tutorials. It's obvious that most instructors are just reading and re-typing or copy-pasting blocks of code from the other screen, and there's nothing wrong with that. But typing doesn't make it any more "organic", it's flawless and perfect (down to imports on the top of the file before you even start writing your code, which is obviously how all of us real developers don't actually write code, you import/include stuff as you need it, not randomly from top of our minds). So to make it more fun - just copy blocks of code, entire function at a time, and then instead of making us watch how you "retype" the function - spend that time explaining what the method does, what the arguments are, why you prefer doing it this way or another, but then it's time well spent. Watching someone slowly retype the entire app is.. not high value. But other than that - great video, I love your style and I think your channel will only grow from here! Keep up the good work dude! 🤙
I really appreciate the advice! Check out my latest polls, I used to copy/paste but the vote said to type it all out. Perhaps I can type that section but speed in by 2x or something.
Very Great Tutorial, Greetings from Egypt
Thanks for watching! Cheers 🙂
Please make a full video on realtime chap app with notification and websocket and mysql
I already have something real close to this 🙂
@@codingwithroby that was just a part need full video from scratch if possible.
Well, I have been around from one tutorial to another learning different backend tools like Node, and Flask. Still, when I came across FASTAPI I said this is the information am looking for so FASTAPI is cool and I hope to become good at it.
I LOVE it
Hey, nice tutorial, can we get a tutorial to put this in a production environment ? I never saw this on youtube
I have a mini course on how to deploy this :-) www.udemy.com/course/deploy-fastapi-fullstack-amazon-cloud-aws/?referralCode=706861EF28A616B36FEC
@@codingwithroby Will it work on a normal vps or a docker container ?
@@remimahdi233 No Docker, normal EC2
awesome tutorial.. love the way you explained every detail
Glad you liked it!
but in redis-py aioredis was merged so we can use that one with contextmanger in fastapi
Awesome additional information!
You are not really explaining anything at all. You are just copying from somewhere.
I mean I am showing you how to build a React+FastAPI project? I have the project I built on another screen so I don't mess up to keep the video concise.
Yeah, that’s fine, and I understand that many other UA-camrs do the same. My point is that it would be helpful if you could explain what you’re showing us or clarify the expertise level needed to benefit from your video. For example, you could mention, “You should be familiar with FastAPI to follow this course.” Right?
Don't we need to calculate the hash on the client and pass it to the server?
Not for the initial login - we don't want the secret and stuff over there. If you mean just the hash, you technically can.
This one helps me a lot! I was always scared of it. Thanks!
Glad I could help!
Thanks for taking time and great contents. I personally take a huge advantage of each of them.
I am glad they are helpful to you :-)
Why would you deploy FastAPI on top of Lambda instead of using API Gateway and Lambda functions that run only the required logic? It's like forcing a use case in a service that is not designed for that purpose.
Please make more projects, and thanks for it.
What would you like to see?
@@codingwithroby Unique project also integrate AI
@@codingwithroby Dear Sir plz Create a video tutorial on role-based authentication that includes user registration and login, with a designated role for an admin.
It could have been better if they had implemented pandas and uploaded csv, excel or txt files
Lots of additional features here - I will keep this in mind for future content
❤Amazing
You're amazing ❤️
Thanks! Abraço do Brasil!
You're welcome!!!
Hi Eric, i have problem with ModuleNotFoundError: No module named 'jose'. Please help me.
Have you installed the dependencies?
What dou you think using django and Fastapi in the same project?
I would probably be against it. If you want Django MVC use Rest Django along with it
very helpfull video
Glad you think so!
make an ecommerce website with fast api
Noted!
Wow beautiful, I'm currently working on a fastapi and nextjs project and you just save me a lot of time, thanks for such an amazing tutorial.
You're so welcome!
Awesome Roby ❤, i super love this full stack tutorial. I would be working on such in my channel too 🥰
You can do it! I am rooting for you.
You could explain all that in 10 minutes
Thanks for the feedback
A comment advising you to show a demo at the beginning of the video is a golden one. I would say add timestamps to your videos. Good work, regardless.
Thank you!
Thanks!
Aww, thank you so much!
Clear and straight to the point. Great content!
Sweeeeeeet!
@@codingwithroby Roby, I had a problem with the fastapi==0.110.1 dependency, because the CLI was added in the fastapi==0.111. I changed the version and I could run the project with the fastapi command.
@@francosbenitez Same with me!
He has mentioned in the video that fastapi-cli works only with the latest version, maybe adding it to the description will help others with the same problem.
@@adityabalakrishnan1753 Not a bad idea - I'll it to the description 🙂
Although your tutorial is helpful, why aren't you using SQLModel as the ORM and Poetry for dependency management?
Because I like SQLAlchemy and Pip!