Getting started with FastApi is popular PDF and ePub book, written by Andrés Cruz Yoris in 2024-10-01, it is a fantastic choice for those who relish reading online the Computers genre. Let's immerse ourselves in this engaging Computers book by exploring the summary and details provided below. Remember, Getting started with FastApi can be Read Online from any device for your convenience.

Getting started with FastApi Book PDF Summary

FastAPI is a great web framework for creating web APIs with Python; It offers us multiple features with which it is possible to create modular, well-structured, scalable APIs with many options such as validations, formats, typing, among others. When you install FastAPI, two very important modules are installed: Pydantic that allows the creation of models for data validation. Starlette, which is a lightweight ASGI tooltip, used to create asynchronous (or synchronous) web services in Python. With these packages, we have the basics to create APIs, but we can easily extend a FastAPI project with other modules to provide the application with more features, such as the database, template engines, among others. FastAPI is a high-performance, easy-to-learn, start-up framework; It is ideal for creating all kinds of sites that not only consist of APIs, but we can install a template manager to return complete web pages. This book is mostly practical, we will learn the basics of FastAPI, knowing its main features based on a small application that we will extend chapter after chapter and whose content you can see below: Chapter 1: We present some essential commands to develop in FastApi , we will prepare the environment and we will give an introduction to the framework . Chapter 2: One of the main factors in FastApi is the creation of resources for the API through functions, in this section we will deal with the basics of this, introducing routing between multiple files as well as the different options for the arguments and parameters of these routes. Chapter 3: In this section, learn how to handle HTTP status codes from API methods and also handle errors/exceptions from API methods. Chapter 4: In this section we will see how to create sample data to use from the automatic documentation that FastAPI offers for each of the API methods. Chapter 5: In this chapter we will see how to implement the upload of files, knowing the different existing variants in FastAPI. Chapter 6: In this chapter we will see how to connect a FastAPI application to a relational database such as MySQL. Chapter 7: In this chapter we will see installing and using a template engine in Python, specifically Jinja, with which we can return responses in HTML format. Chapter 8: In this chapter we will see installing and using a template engine in Python, specifically Jinja, with which we can return responses in HTML format. Chapter 9: In this chapter we will learn how to use dependencies. Chapter 10: In this chapter we will see how to use middleware to intercept requests to API methods and execute some procedure before the request or after generating the response. Chapter 11: In this chapter we will see how to create a user module, to register users, login, generate access tokens and logout. Chapter 12: In this chapter we will learn about some particularities and functionalities of FastAPI such as the use of annotations and the Ellipsis operator. Chapter 13: In this chapter we will see how to implement unit tests. Chapter 14: In this chapter we will know some general aspects applied to FastAPI.

Detail Book of Getting started with FastApi PDF

Getting started with FastApi
  • Author : Andrés Cruz Yoris
  • Release : 01 October 2024
  • Publisher : Andres Cruz
  • ISBN : 978186723xxxx
  • Genre : Computers
  • Total Page : 168 pages
  • Language : English
  • PDF File Size : 13,7 Mb

If you're still pondering over how to secure a PDF or EPUB version of the book Getting started with FastApi by Andrés Cruz Yoris, don't worry! All you have to do is click the 'Get Book' buttons below to kick off your Download or Read Online journey. Just a friendly reminder: we don't upload or host the files ourselves.

Get Book

FastAPI

FastAPI Author : Bill Lubanovic
Publisher : "O'Reilly Media, Inc."
File Size : 9,5 Mb
Get Book
FastAPI is a young yet solid framework that takes advantage of newer Python features in a clean desi...

Building Python Web APIs with FastAPI

Building Python Web APIs with FastAPI Author : Abdulazeez Abdulazeez Adeshina
Publisher : Packt Publishing Ltd
File Size : 20,7 Mb
Get Book
Discover FastAPI features and best practices for building and deploying high-quality web APIs from s...

FastAPI Cookbook

FastAPI Cookbook Author : Giunio De Luca
Publisher : Packt Publishing Ltd
File Size : 20,5 Mb
Get Book
Enhance your web development skills, from setting up your environment and advanced integrations to b...

Full Stack FastAPI React and MongoDB

Full Stack FastAPI  React  and MongoDB Author : Marko Aleksendric
Publisher : Packt Publishing Ltd
File Size : 28,9 Mb
Get Book
Wield the power of Python, React, and MongoDB to build web and data applications quickly and broaden...

Getting started with FastApi

Getting started with FastApi Author : Andrés Cruz Yoris
Publisher : Andres Cruz
File Size : 54,5 Mb
Get Book
FastAPI is a great web framework for creating web APIs with Python; It offers us multiple features w...

Microservice APIs

Microservice APIs Author : Jose Haro Peralta
Publisher : Simon and Schuster
File Size : 41,7 Mb
Get Book
Strategies, best practices, and patterns that will help you design resilient microservices architect...