MENU

Fun & Interesting

How to build a FastAPI app with MySQL database (step by step guide)

Eric Roby 59,267 2 years ago
Video Not Working? Fix It Now

In this video, we will guide you through the process of creating a FastAPI blog application integrated with a MySQL database, using SQLAlchemy for database interaction. You'll learn to define data models with Pydantic and how to use MySQL Workbench for database management. Finally, we'll show you how to serve your application using uvicorn. 🎥 React + FastAPI: https://youtu.be/0zb2kohYZIM 🎥 AWS Lambda + FastAPI: https://youtu.be/7-CvGFJNE_o 🎥 MongoDB + FastAPI: https://youtu.be/QkGqjPFIGCA 🎥 PostgreSQL + FastAPI: https://youtu.be/398DuQbQJq0 🎓 Courses can be found: FastAPI Beginner & Advanced: https://www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59 Learn Chatbot Development: https://www.udemy.com/course/the-complete-chatbot-bootcamp/?referralCode=2654798EE9F9998023B9 Want to learn how to use MySQL Workbench, a unified visual tool for database architects, developers, and DBAs? I will guide you on how to visually design, model, generate, and manage databases. Throughout the video, we'll be sharing lots of tips and tricks that we've learned over the years. You'll be well-equipped to handle a wide variety of FastAPI projects by the end of this tutorial. 🔔 Subscribe to our channel to keep up with our latest content, and hit that like button if you find this tutorial helpful! =========================== 🔥 Check out the FastAPI Masterclass : https://www.udemy.com/user/ericroby2/ =========================== 🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/codingwithroby TIMESTAMPS: 00:00 - Introduction 01:05 - FastAPI, SQLAlchemy, uvicorn, pydantic installation 02:27 - FastAPI Database File 04:37 - Create SQLAlchemy & MySQL Database Models 09:23 - FastAPI 14:00 - MySQL Workbench 15:46 - FastAPI endpoints #codingwithroby #fastapi #mysql

Comment