Create a REST API in Python with FastAPI (English)
-
Duration
2 dagen -
Price
€ 1535,- -
8,9
Reviews
1000+ reviews -
Location
Nieuwegeinvirtueel -
Schedule
-
Classroom
klassikaal
The training on building REST APIs in Python with FastAPI covers essential topics in modern web development. It emphasizes the significance of REST APIs and microservices in creating scalable and maintainable applications. The distinction between pragmatic and non-pragmatic REST design approaches is explored to provide a foundation for effective API development.
The anatomy of HTTP requests is thoroughly examined, encompassing the protocol, address, path, query parameters, and headers, fostering a good understanding of the underlying communication.
To use REST APIs in Python (client-side) good frameworks exist. Two of the more popular libraries (Requests and HTTPX ) are explored in some depth, highlighting their versatility and benefits in working with RESTful services.
The training has a strong hands-on character. Youll be creating, step-by-step, a REST APIs with FastAPI, starting from simple path operations and gradually incorporating various components like query parameters and request bodies.
You will be introduced to OpenAPI along the way. Among FastAPIs built-in capabilities are the automatic creation of the API specification and a web-interface which uses this specification to interface with your API.
The integration of databases into FastAPI projects is covered, showcasing effective methods for interacting with persistent data.
Authentication, including the use of JSON Web Tokens (JWT), is addressed, empowering you to secure your APIs and manage user access effectively.
By the end of the training, you will gain a comprehensive skill set for developing robust, efficient, and secure REST APIs in Python using FastAPI, aligning with industry best practices.
Objectives
- Understand the role of REST APIs in modern applications, and its good fit in cloud native architectures where microservices are pivotal.
- Be able to create your own REST API using the leading framework FastAPI.
- Appreciate the framework for its ability to work in both synchronous and asynchronous modes, levering modern Python Type Hinting and adhering to standards based (OpenAPI) REST interfaces.
Target audience
DevOps engineers and application developers who need to use and create (microservices).
Data scientists to interface their models e.g. for creating an AI or Machine Learning app.
Requirements
Assumed is a solid background in Python programming.
Particularities
This course is delivered in collaboration with AT Computing.Topics
- Introduction: microservices, HTTP, API technologies: GraphQL, gRPC, REST
- REST: HTTP, methods, URL
- REST client-side
- FastAPI: path components
- FastAPI: body components
- FastAPI: query components
- FastAPI: header components
- FastAPI: Cookies
- Persistent data, ORM as integration layer to databases
- Adding authentication
Schedule & Price
- * * This course event is guaranteed to run.
-
*Een cursus met
valt onder de actie Summer Academy.
Cursus: Create a REST API in Python with FastAPI (English)
Vul onderstaand formulier in en je ontvangt meer informatie over de incompany- en maatwerkmogelijkheden van deze cursus.
We are happy to help you. Please fill in the request form below and you will receive the requested information as soon as possible.
Related courses
Er zijn geen gerelateerde cursussen.