It also contains error handling in case an invalid ID is passed to the user.Įach car on the page has edit and delete buttons, with the edit button taking you to an auto-filled form on a separate page to edit the data, and the delete button passing a request to a hidden route that removes it from the database. The search form uses IDs to search the database for cars, and displays them to the user. The navbar contains working links to the home page, a form to create a car (more on that later!), and an embedded search bar which, when used, takes you to a search page. The home page contains a list of all the cars in our database, which is neatly formatted and displayed to the user in a gridlike manner. The foundational FastAPI skills needed to get a basic application up and running.Īlong the way, we will be building a car information viewer that lets you view, search, create, edit, and delete information about cars, all delivered in a clean and readable codebase using Python and FastAPI. In the first app, we focus on the basics of FastAPI by teaching: Once the basics are covered, we start by building the first of three full stack web applications. Nuanced Python features that make development much easier, such as virtual environments.Īt the end of section, there is a coding exercise and quiz that incorporate all content covered to ensure understanding. Before we start building any apps, we take a look at the basics of Python, including: The curriculum takes a comprehensive look at both FastAPI and the technologies needed to build it. All you need is a basic understanding of Python and some familiarity with HTML and CSS, and you will be on your way to becoming a master of full stack web development in Python and FastAPI! Learn best web development practices and conventionsĪnd the best part is you don't have to know anything about FastAPI, web routing, security, or any of the above. Use SQLAlchemy to write functionality to interact with databases in Python Use Alembic to migrate and update databases Use Pydantic and type hints to create data models and schemas in PythonĬreate OAuth2 flows and use them to authenticate users using FastAPI logicĬreate, manage, and update JSON Web TokensĬreate database models in Python and use them with FastAPI routes Understand JSON and how to both parse and return it using Python Validate HTTP routes and implement error handling in REST APIs and full-stack applications Parse HTTP requests in python and extract relevant data, including parameters, form data, and request bodies Understand HTTP, how it works, and how to make requests, including methods, headers, bodies, and status codesįormat programmatic data to include in front-end pages Use database browsers and SQLAlchemy to create, manage, update, and parse SQLite databasesĬreate user authentication and registration logic with error handling Use Jinja2, Bootstrap, HTML, and CSS to create front-end templates with control flow (conditionals, loops, etc.)įundamentally understand REST API architecture and how to implement REST APIs in FastAPI It combines theory and practical use to give you everything you need to learn FastAPI, all while allowing you to build 3 full-stack web applications written primarily in Python along the way.Ĭreate 3 full-stack applications using FastAPI in Python and industry-standard practices This course aims to eliminate that confusion by teaching FastAPI from the very basics to the advanced level. With databases, REST architecture, HTTP requests, OAuth2, and all the other protocols that go alongside full stack web development, it can be hard to learn, especially when coupled with a complicated framework like FastAPI and the nuanced parts of Python. There is a lot that goes into full stack web development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |