
Full Stack FastAPI, React, and MongoDB
Fast-paced web app development with the FARM stack
Packt Publishing
2nd Edition
Published on 23. August 2024
Book
Paperback/Softback
312 pages
978-1-83588-676-2 (ISBN)
Description
Boost your web developer potential and stay ahead in the fast-paced web development and AI race with the flexibility, adaptability, and robustness of the FARM stack
Key Features
Learn the basics of MongoDB to be able to model any type of data
Explore the powerful Python web development ecosystem with Pydantic and FastAPI
Future-proof your applications by integrating ChatGPT or other LLMs
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionDiscover how to harness the power of the FARM stack-FastAPI, React, and MongoDB-to develop production-ready web applications of varying complexity. Written by a team of industry experts, including MongoDB champions and product leaders, this fast-paced, hands-on guide equips beginners with essential skills to build web applications efficiently.
Introducing each element of the stack, the book demonstrates how to seamlessly integrate them to create a medium-sized web application. You'll set up MongoDB as a document store, construct a simple API with FastAPI, and build an application using React. The guide also covers enhancing application security through authentication and authorization with JSON Web Tokens.
Beyond mastering the stack, you'll get to grips with integrating Large Language Models (like ChatGPT) for advanced functionality, such as automated email sending. Additionally, you'll learn how to make the most of Next.js 14, a robust full-stack framework offering improved developer experience.
By the end of the book, you'll have created functional applications and gained the foundation to explore diverse and more specialized domains, expanding your development horizons.What you will learn
Set up and manage MongoDB databases and collections, and model data
Leverage the power of FastAPI to write complex APIs using pure Python
Create frontends of varying complexity with the React library
Build and deploy robust and secure backends using FastAPI and MongoDB
Ship production-ready applications with Next.js 14, applying your React and backend knowledge
Integrate Large Language Models, send emails, and do much more with the flexible FARM stack
Who this book is forThe book is for intermediate web developers with basic JavaScript and Python knowledge who want to enhance their developer skills, master a powerful and flexible stack, and write better applications faster.
Key Features
Learn the basics of MongoDB to be able to model any type of data
Explore the powerful Python web development ecosystem with Pydantic and FastAPI
Future-proof your applications by integrating ChatGPT or other LLMs
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionDiscover how to harness the power of the FARM stack-FastAPI, React, and MongoDB-to develop production-ready web applications of varying complexity. Written by a team of industry experts, including MongoDB champions and product leaders, this fast-paced, hands-on guide equips beginners with essential skills to build web applications efficiently.
Introducing each element of the stack, the book demonstrates how to seamlessly integrate them to create a medium-sized web application. You'll set up MongoDB as a document store, construct a simple API with FastAPI, and build an application using React. The guide also covers enhancing application security through authentication and authorization with JSON Web Tokens.
Beyond mastering the stack, you'll get to grips with integrating Large Language Models (like ChatGPT) for advanced functionality, such as automated email sending. Additionally, you'll learn how to make the most of Next.js 14, a robust full-stack framework offering improved developer experience.
By the end of the book, you'll have created functional applications and gained the foundation to explore diverse and more specialized domains, expanding your development horizons.What you will learn
Set up and manage MongoDB databases and collections, and model data
Leverage the power of FastAPI to write complex APIs using pure Python
Create frontends of varying complexity with the React library
Build and deploy robust and secure backends using FastAPI and MongoDB
Ship production-ready applications with Next.js 14, applying your React and backend knowledge
Integrate Large Language Models, send emails, and do much more with the flexible FARM stack
Who this book is forThe book is for intermediate web developers with basic JavaScript and Python knowledge who want to enhance their developer skills, master a powerful and flexible stack, and write better applications faster.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 20 mm
Weight
866 gr
ISBN-13
978-1-83588-676-2 (9781835886762)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Marko Aleksendric | Shrey Batra | Rachelle Palmer
Full Stack FastAPI, React, and MongoDB
Fast-paced web app development with the FARM stack
E-Book
03/2025
2nd Edition
Packt Publishing
from
€44.99
Available for download
Persons
Marko Aleksendric is an analyst, a scientist, and a freelance self-taught web developer with over 20 years of experience. Marko has authored the book Modern Web Development with the FARM Stack and Mastering MongoDB 7.0, published by Packt Publishing. With a keen interest in backend and frontend development, he has been an avid MongoDB user for the last 15 years for various web and data analytics-related projects and has built numerous Python and JavaScript web applications and tools. Shrey is the Founder of Cosmocloud, a MongoDB Champion, and a software developer by passion. As a tech startup founder building a No-Code backend with MongoDB, he combines his passion for both MongoDB and building applications at scale. Working in the industry for over 8 years, he is also an active contributor to the technical community, speaks at various world conferences and meetups, and writes his own newsletter, System Design and Architecture, which has 50K+ subscribers. He is also a distributed algorithm patent holder for his work at LinkedIn on its Search and Discovery platform. Rachelle Palmer is the Product Leader for Developer Database Experience and Developer Education at MongoDB, overseeing the driver client libraries, documentation, framework integrations, and MongoDB University. She has built sample applications for MongoDB in Java, PHP, Rust, Python, Node.js, and Ruby. Rachelle joined MongoDB in 2013 and was previously the Director of the Technical Services Engineering team, creating and managing the team that provided support and CloudOps to MongoDB Atlas. Shubham Ranjan is a Product Manager at MongoDB for Python and a core contributing member to AI initiatives at MongoDB. He is also a Python developer and has published over 700 technical articles on topics ranging from data science and ML to competitive programming. Since joining MongoDB in 2019, Shubham has held several roles, progressing from a Software Engineer to a Product Manager for multiple products.
Content
Table of Contents
Web Development and the FARM Stack
Setting Up the Database with MongoDB
Python Type Hints and Pydantic
Getting Started with FastAPI
Setting Up a React Workflow
Authentication and Authorization
Building a Backend with FastAPI
Building the Frontend of the Application
Third-Party Services Integration with FastAPI and Beanie
Web Development with Next.js 14
Useful Resources and Project Ideas
Web Development and the FARM Stack
Setting Up the Database with MongoDB
Python Type Hints and Pydantic
Getting Started with FastAPI
Setting Up a React Workflow
Authentication and Authorization
Building a Backend with FastAPI
Building the Frontend of the Application
Third-Party Services Integration with FastAPI and Beanie
Web Development with Next.js 14
Useful Resources and Project Ideas