On this video course, you’ll construct a URL shortener with Python and FastAPI.
URLs might be extraordinarily lengthy and never user-friendly.
That is the place a URL shortener can come in useful.
A URL shortener reduces the variety of characters in a URL, making it simpler to learn, keep in mind, and share.
By following this step-by-step undertaking, you’ll construct a URL shortener with Python and FastAPI.
On the finish of this course, you’ll have a completely useful API-driven net app that creates shortened URLs that ahead to focus on URLs.
On this video course, you’ll discover ways to:
- Create a REST API with FastAPI
- Run a growth net server with Uvicorn
- Mannequin an SQLite database
- Examine the auto-generated API documentation
- Work together with the database with CRUD actions
- Optimize your app by refactoring your code
This URL shortener undertaking is for intermediate Python programmers who need to check out FastAPI and study API design, CRUD, and interplay with a database.
To comply with alongside, it’ll assist if you happen to’re aware of the fundamentals of dealing with HTTP requests.
When you want a refresher on FastAPI, Using FastAPI to Build Python Web APIs is a superb introduction.