Full Stack FastAPI, React, and MongoDB, 2nd Edition: Fast-paced web app development with the FARM stack Front Cover

Full Stack FastAPI, React, and MongoDB, 2nd Edition: Fast-paced web app development with the FARM stack

  • Length: 312 pages
  • Edition: 2
  • Publisher:
  • Publication Date: 2024-08-23
  • ISBN-10: B0DCBQNCG9
  • ISBN-13: 9781835886762
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 Description

Discover 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 for

The 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.

Table of Contents

  1. Web Development and the FARM Stack
  2. Setting Up the Database with MongoDB
  3. Python Type Hints and Pydantic
  4. Getting Started with FastAPI
  5. Setting Up a React Workflow
  6. Authentication and Authorization
  7. Building a Backend with FastAPI
  8. Building the Frontend of the Application
  9. Third-Party Services Integration with FastAPI and Beanie
  10. Web Development with Next.js 14
  11. Useful Resources and Project Ideas
To access the link, solve the captcha.