Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Advanced Backend Development, API Testing, and Deployment

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this advanced course, you will master the key concepts of backend development, including API design, testing, deployment, and scaling. You’ll start by enhancing your FastAPI applications with custom middleware and detailed API documentation. The course dives deep into testing your FastAPI endpoints with pytest, exploring advanced techniques like automated testing and authentication testing. Furthermore, you’ll learn how to containerize your applications with Docker and deploy them to platforms like Render and AWS, ensuring your app is production-ready. You'll also gain hands-on experience with React.js, using it to build dynamic frontends that seamlessly integrate with your FastAPI backend. The course covers essential frontend concepts, including state management, authentication, and integrating with APIs via Axios. You’ll even learn how to implement QR code scanning functionality in your app, allowing for quick access to shipment data. Designed for advanced developers who want to build, test, and deploy high-performance applications, this course provides the skills needed to manage complex systems using cutting-edge tools and best practices. While prior experience with FastAPI, React, and basic web development is recommended, the course offers practical insights for scaling backend applications. By the end of the course, you will be able to design robust APIs, write thorough tests for your endpoints, deploy applications with Docker, and integrate with cloud platforms like AWS for production deployments.

Syllabus

  • API Middleware
    • In this module, we will explore the concept of middleware in FastAPI, where you'll learn how to add custom middleware to handle requests and responses globally. We’ll also dive into CORS middleware to enable safe cross-origin requests, ensuring seamless integration between front-end and back-end services.
  • API Documentation
    • In this module, we will guide you through enhancing your FastAPI API documentation. You’ll learn to add general metadata about your application, document each endpoint with useful details, and provide rich model documentation for Pydantic models, making it easier for developers to understand and use your API.
  • pytest
    • In this module, we will introduce pytest for testing FastAPI endpoints. You'll learn how to write and run tests, manage state within tests, and use fixtures to handle test dependencies, helping you create maintainable and robust test suites for your application.
  • API Testing
    • In this module, we will focus on writing comprehensive tests for your FastAPI API. You’ll learn how to test endpoints, handle asynchronous tests, override dependencies for test environments, and automate the entire testing process, ensuring your API remains reliable and stable.
  • React JS
    • In this module, we will guide you through setting up a full-stack application using React.js and FastAPI. From creating components to managing global state, handling forms, and integrating Axios for communication, this module provides the foundational knowledge to connect your frontend seamlessly with your FastAPI backend.
  • Frontend
    • In this module, you will learn to build dynamic frontend pages in React.js that interact with your FastAPI backend. From creating login and dashboard pages to integrating QR scanning and shipment updates, this module equips you with the skills to create a comprehensive frontend for your full-stack application.
  • Docker
    • In this module, we will show you how to use Docker for containerizing your FastAPI and React applications, ensuring they run seamlessly across different environments. You’ll learn how to set up and manage Docker containers for both the frontend and backend, and use Docker Compose for orchestrating multi-container applications.
  • Deployment
    • In this module, we will cover how to deploy your FastAPI application on Render, along with setting up necessary services like PostgreSQL and Redis. You’ll learn the deployment process and how to get your API running smoothly in a live environment.
  • API Gateway
    • In this module, we will dive into API Gateway and how it helps manage traffic to your FastAPI application. You’ll learn to set up AWS services such as API Gateway, App Runner, and Elastic Container Registry to deploy your application, as well as how to implement caching to optimize performance.
  • Tips & Tricks
    • In this final module, we will provide valuable tips and tricks for optimizing your FastAPI project. From organizing your file structure and adding pagination to setting up logging for better monitoring, these practices will help you create more efficient and maintainable applications.

Taught by

Packt - Course Instructors

Reviews

Start your review of Advanced Backend Development, API Testing, and Deployment

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.