کتاب توسعه‌ی فول‌استک با FastAPI، React و MongoDB
توسعه‌ی سریع اپلیکیشن‌های وب با استفاده از پشته‌ی FARM

عنوان:

Full Stack FastAPI, React, and MongoDB - Second Edition

نویسنده:

Marko Aleksendrić Ph.D., Shrey Batra, Rachelle Palmar, Shubham Ranjan

انتشارات:

Packt Publishing Pvt. Ltd.

تاریخ انتشار

2024

حجم:

3.90MB

دانلود

معرفی کتاب:" توسعه سریع برنامه‌های وب با پشته‌ی FARM: FastAPI، React و MongoDB "

پتانسیل خود را به‌عنوان توسعه‌دهنده وب افزایش دهید و در رقابت سریع توسعه وب و هوش مصنوعی، با استفاده از انعطاف‌پذیری، سازگاری و پایداری بالای پشته FARM پیشتاز بمانید.

نکات کلیدی:

  • آشنایی با مبانی MongoDB برای مدل‌سازی انواع داده‌ها
  • کاوش در اکوسیستم قدرتمند توسعه وب پایتون با استفاده از FastAPI و Pydantic
  • یکپارچه‌سازی ChatGPT یا سایر مدل‌های زبانی بزرگ (LLM) برای توسعه آینده‌نگر

این راهنمای کاربردی برای توسعه‌دهندگانی است که می‌خواهند برنامه‌هایی مدرن، سریع و مقیاس‌پذیر بسازند و در عین حال از قابلیت‌های هوش مصنوعی برای بهبود تجربه کاربری و عملکرد سیستم بهره ببرند.

فهرست مطالب

  • Preface
  • Chapter 1: Web Development and the FARM Stack
  • Technical requirements
  • What is the FARM stack?
  • Why the FARM stack?
  • Why use MongoDB?
  • Why use FastAPI?
  • Python and REST APIs
  • The frontend – React
  • Summary
  • Chapter 2: Setting Up the Database with MongoDB
  • Technical requirements
  • The structure of a MongoDB database
  • Installing MongoDB and related tools
  • Installing MongoDB and Compass on Windows
  • Installing the MongoDB Shell (mongosh)
  • MongoDB Database Tools
  • Installing MongoDB and Compass on Linux: Ubuntu
  • Setting up Atlas
  • MongoDB querying and CRUD operations
  • Querying in MongoDB
  • Summary
  • Chapter 3: Python Type Hints and Pydantic
  • Technical requirements
  • Python types
  • Type hinting
  • Pydantic
  • Summary
  • Chapter 4: Getting Started with FastAPI
  • Technical requirements
  • FastAPI in a nutshell
  • Building a showcase API
  • Summary
  • Chapter 5: Setting Up a React Workflow
  • Technical requirements
  • Creating a React app using Vite
  • Components and building blocks of JSX
  • Communicating with APIs and the outside world using useEffect
  • Exploring React Router and other useful packages
  • Summary
  • Chapter 6: Authentication and Authorization
  • Technical requirements
  • Understanding JSON Web Token
  • FastAPI backend with users and dependencies
  • Authenticating the users in React
  • Summary
  • Chapter 7: Building a Backend with FastAPI
  • Technical requirements
  • Introducing the application
  • Creating an Atlas instance and a collection
  • Scaffolding a FastAPI application
  • CRUD operations
  • Uploading images to Cloudinary
  • Adding the user model
  • FastAPI middleware and CORS
  • Deployment to Render.com
  • Summary
  • Chapter 8: Building the Frontend of the Application
  • Technical requirements
  • Creating a Vite React application
  • React Hook Form and Zod
  • Authentication context and storing the JWT
  • Summary
  • Chapter 9: Third-Party Services Integration with FastAPI and Beanie
  • Technical requirements
  • Project outline
  • Building the backend with FastAPI and Beanie
  • Summary
  • Chapter 10: Web Development with Next.js 14
  • Technical requirements
  • Introduction to Next.js
  • Creating a Next.js 14 project
  • Authentication and Server Actions in Next.js
  • Deployment on Netlify
  • Summary
  • Chapter 11: Useful Resources and Project Ideas
  • MongoDB considerations
  • FastAPI and Python considerations
  • Testing FastAPI applications
  • React practices
  • Other topics
  • Some project ideas to get started
  • Summary
  • Index
  • Other Books You May Enjoy

مشخصات

نام کتاب

Full Stack FastAPI, React, and MongoDB - Second Edition

نویسنده

Marko Aleksendrić Ph.D., Shrey Batra, Rachelle Palmar, Shubham Ranjan

انتشارات

Packt Publishing Pvt. Ltd

تاریخ انتشار

2024

ISBN

9781835886762

چاپ

اول

تعداد صفحات

664

زبان

انگلیسی

فرمت

pdf

حجم

3.90MB

موضوع

Programming / Programming Languages