Book description
Wield the power of Python, React, and MongoDB to build web and data applications quickly and broaden your web development horizons
Key Features
- Learn how to build web applications without having to know the intricacies of the components
- Build full stack projects without compromising on development speed and app performance
- Prepare yourself for the diverse world of web development, analytics, and data visualization
Book Description
If you need to develop web applications quickly, where do you turn? Enter the FARM stack. The FARM stack combines the power of the Python ecosystem with REST and MongoDB and makes building web applications easy and fast.
This book is a fast-paced, concise, and hands-on beginner's guide that will equip you with the skills you need to quickly build web applications by diving just deep enough into the intricacies of the stack's components.
The book quickly introduces each element of the stack and then helps you merge them to build a medium-sized web application. You'll set up a document store with MongoDB, build a simple API with FastAPI, and create an application with React. Security is crucial on the web, so you'll learn about authentication and authorization with JSON Web Tokens. You'll also understand how to optimize images, cache responses with Redis, and add additional features to your application as well as explore tips, tricks, and best practices to make your development experience a breeze. Before you know it, you'll be deploying the application to different platforms.
By the end of this book, you will have built a couple of functional applications efficiently and will have the springboard you need to delve into diverse and more specialized domains.
What you will learn
- Discover the flexibility of the FARM stack
- Implement complete JWT authentication with FastAPI
- Explore the various Python drivers for MongoDB
- Discover the problems that React libraries solve
- Build simple and medium web applications with the FARM stack
- Dive into server-side rendering with Next.js
- Deploy your app with Heroku, Vercel, Ubuntu Server and Netlify
- Understand how to deploy and cache a FastAPI backend
Who this book is for
This book is for web developers and analysts who want to include the power of a modern asynchronous Python framework, a flexible data store and a powerful UI library with the combination of two of the most important programming languages today in their web development toolkit. Beginners in the field of information presentation will also find this book helpful. You must have a beginner-level understanding of Python, JavaScript, and HTML and CSS to get the most out of this book.
Table of contents
- Full Stack FastAPI, React, and MongoDB
- Contributors
- About the author
- About the reviewer
- Preface
- Part 1 – Introduction to the FARM Stack and the Components
- Chapter 1: Web Development and the FARM Stack
- Chapter 2: Setting Up the Document Store with MongoDB
- Chapter 3: Getting Started with FastAPI
- Chapter 4: Setting Up a React Workflow
- Part 2 – Parts of the Stack Working Together
- Chapter 5: Building the Backend for Our Application
- 6
- Building the Frontend of the Application
- Chapter 7: Authentication and Authorization
- Part 3 – Deployment and Final Thoughts
- Chapter 8: Server-Side Rendering and Image Processing with FastAPI and Next.js
- Chapter 9: Building a Data Visualization App with the FARM Stack
- Chapter 10: Caching with Redis and Deployment on Ubuntu (DigitalOcean) and Netlify
- Chapter 11: Useful Resources and Project Ideas
- Index
- Other Books You May Enjoy
Product information
- Title: Full Stack FastAPI, React, and MongoDB
- Author(s):
- Release date: September 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803231822
You might also like
book
Modern Full-Stack Development: Using TypeScript, React, Node.js, Webpack, Python, Django, and Docker
Explore what React, Node, Python, Django, TypeScript, Webpack, and Docker have to offer individually, and how …
book
Full-Stack React, TypeScript, and Node
Discover the current landscape of full-stack development and how to leverage modern web technologies for building …
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
book
Spring Boot: Up and Running
With over 75 million downloads per month, Spring Boot is the most widely used Java framework …