On this video course, you’ll construct a URL shortener with Python and FastAPI.
URLs could be extraordinarily lengthy and never user-friendly.
That is the place a URL shortener can turn out to be useful.
A URL shortener reduces the variety of characters in a URL, making it simpler to learn, bear in mind, and share.
By following this step-by-step venture, 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 learn to:
- Create a REST API with FastAPI
- Run a improvement 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 venture is for intermediate Python programmers who need to check out FastAPI and find out about API design, CRUD, and interplay with a database.
To observe alongside, it’ll assist for those who’re conversant in the fundamentals of dealing with HTTP requests.
In case you want a refresher on FastAPI, Utilizing FastAPI to Construct Python Net APIs is a superb introduction.