Full Stack FastAPI, React, and MongoDB - Second Edition: Fast-paced web app development with the FARM stack (全端快速開發:FastAPI、React 與 MongoDB(第二版))

Aleksendric, Marko, Batra, Shrey, Palmer, Rachelle

  • 出版商: Packt Publishing
  • 出版日期: 2024-08-23
  • 售價: $2,800
  • 貴賓價: 9.5$2,660
  • 語言: 英文
  • 頁數: 312
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835886760
  • ISBN-13: 9781835886762
  • 相關分類: ARMNoSQLMongoDB
  • 立即出貨 (庫存=1)

相關主題

商品描述

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

- 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

商品描述(中文翻譯)

提升您的網頁開發潛力,並在快速變化的網頁開發和人工智慧競賽中保持領先,利用 FARM 堆疊的靈活性、適應性和穩健性。

主要特點:
- 學習 MongoDB 的基本知識,以便能夠建模任何類型的數據
- 探索強大的 Python 網頁開發生態系統,使用 Pydantic 和 FastAPI
- 通過整合 ChatGPT 或其他大型語言模型(LLMs)來未來證明您的應用程式
- 購買印刷版或 Kindle 書籍包括免費 PDF 電子書

書籍描述:
了解如何利用 FARM 堆疊(FastAPI、React 和 MongoDB)的力量,開發各種複雜度的生產就緒網頁應用程式。本書由一組行業專家撰寫,包括 MongoDB 冠軍和產品領導者,這本快速且實用的指南為初學者提供了高效構建網頁應用程式所需的基本技能。

本書介紹了堆疊的每個元素,並演示如何無縫整合它們以創建中型網頁應用程式。您將設置 MongoDB 作為文檔存儲,使用 FastAPI 構建簡單的 API,並使用 React 開發應用程式。本指南還涵蓋了通過 JSON Web Tokens 進行身份驗證和授權來增強應用程式安全性。

除了掌握堆疊,您還將學會如何整合大型語言模型(如 ChatGPT)以實現高級功能,例如自動發送電子郵件。此外,您將學會如何充分利用 Next.js 14,這是一個強大的全棧框架,提供更好的開發者體驗。

到書籍結束時,您將創建功能性應用程式,並獲得探索多樣化和更專業領域的基礎,擴展您的開發視野。

您將學到的內容:
- 設置和管理 MongoDB 數據庫和集合,並建模數據
- 利用 FastAPI 的力量使用純 Python 編寫複雜的 API
- 使用 React 庫創建不同複雜度的前端
- 使用 FastAPI 和 MongoDB 構建和部署穩健且安全的後端
- 使用 Next.js 14 發送生產就緒的應用程式,應用您的 React 和後端知識
- 整合大型語言模型,發送電子郵件,並利用靈活的 FARM 堆疊做更多事情

本書適合對象:
本書適合具有基本 JavaScript 和 Python 知識的中級網頁開發者,想要提升開發技能,掌握強大且靈活的堆疊,並更快地編寫更好的應用程式。

目錄:
- 網頁開發與 FARM 堆疊
- 使用 MongoDB 設置數據庫
- Python 類型提示與 Pydantic
- 開始使用 FastAPI
- 設置 React 工作流程
- 身份驗證與授權
- 使用 FastAPI 構建後端
- 構建應用程式的前端
- 與 FastAPI 和 Beanie 整合第三方服務
- 使用 Next.js 14 進行網頁開發
- 有用的資源和項目想法