Full Stack FastAPI, React, and MongoDB: Fast-paced web app development with the FARM stack
The second and updated book on the most interesting web stack out there: FastAPI, React and MongoDB
BUY ON AMAZONWhen the first edition of Full Stack FastAPI, React, and MongoDB came out, I was thrilled by the response from developers who found it useful for getting up and running with the FARM stack. For the second edition, MongoDB Press and Packt Publishing decided to team me up with some premier experts—Shrey Batra, Rachelle Palmer, and Shubham Ranjan—to make it better.
The FARM stack (FastAPI, React, and MongoDB) remains one of the most flexible and enjoyable ways to build modern web applications. This updated edition walks you through each piece of the stack and shows you how to bring them together into a real, working application.
You'll start by setting up MongoDB as your data store, then build a clean API with FastAPI (with a solid grounding in Python type hints and Pydantic), and create your frontend with React. We also cover the essentials of authentication and authorization using JSON Web Tokens—because security matters from day one.
What's new in this edition? We've added a chapter on integrating Large Language Models into your applications—something that's become increasingly relevant as LLMs find their way into everyday workflows. We also cover Next.js 14 and its latest server-side rendering capabilities, giving you a taste of what a full-stack React framework can offer.
By the end, you'll have built functional applications and, more importantly, you'll have a solid foundation to explore further on your own.
Who is it for?
If you have some basic JavaScript and Python knowledge and want to level up your web development skills with a modern, flexible stack, this book is for you.