Language
  • Python 3
Reading time
  • Approximately 33 days
What you will learn
  • Web Development
Author
  • Marko Aleksendric
Published
  • 2 years, 3 months ago

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

  1. Web Development and the FARM Stack
  2. Setting Up the Document Store with MongoDB
  3. Getting Started with FastAPI
  4. Setting Up a React Workflow
  5. Building the Backend for Our Application
  6. Building the Frontend of the Application
  7. Authentication and Authorization
  8. Server-Side Rendering and Image Processing with FastAPI and Next.js
  9. Building a Data Visualization App with the FARM Stack
  10. Caching with Redis and Deployment on Ubuntu (DigitalOcean) and Netlify
  11. Useful Resources and Project Ideas