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

Full Stack FastAPI, React, and MongoDB - Second Edition
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
- 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
Customers Also Viewed
Discover your next great read at BookLoop, Australia's trusted online bookstore offering a vast selection of titles across various genres and interests. Whether you're curious about what's trending or searching for graphic novels that captivate, thrilling crime and mystery fiction, or exhilarating action and adventure stories, our curated collections have something for every reader. Delve into imaginative fantasy worlds or explore the realms of science fiction that challenge the boundaries of reality.
For those with a green thumb, our comprehensive range of gardening books provides insights and tips for all levels of enthusiasts. If you're aiming to enhance your financial acumen, our selection of finance, business, and management books offers valuable knowledge from industry experts. Craft lovers will appreciate our assortment of handicrafts, decorative arts, and crafts books, perfect for inspiring your next project. Engage your mind with our collection of hobbies, quizzes, and games books, or explore the mystical with our fortune-telling and divination guides.
Transportation aficionados can immerse themselves in our extensive transportation books, including detailed works on road and motor vehicles. Young readers are not left out, with a delightful array of picture books and early learning concepts designed to educate and entertain. Fans of contemporary narratives will find compelling stories in our contemporary fiction section. Embark on epic journeys with our fantasy and science fiction titles, or gain inspiration from real-life tales in our biographies and true stories collection. Health-conscious readers can explore our health and wholefood cooking books, focusing on specific diets and conditions.
Stay updated with the literary world by browsing our trending books, featuring the latest bestsellers and critically acclaimed works. Explore titles from popular brands like Minecraft, Pokemon, Star Wars, Bluey, Lonely Planet, ABIA award winners, Peppa Pig, and our specialized collection of ADHD books. At BookLoop, we are committed to providing a diverse and enriching reading experience for all.