1st Edition

Full-Stack Flask and React

Learn, code, and deploy powerful web applications with Flask 2 and React 18

By Olatunde Adedeji

Cover of "Full-Stack Flask and React"Available
ISBN
9781803248448
eISBN
9781803236605
Author
Olatunde Adedeji
Publisher
Packt Publishing
Published
October 6, 2023
Edition
1st
Pages
408
Rights
World

From $39.99 · In stock

Description

Developing an interactive, efficient, and fast enterprise web application requires both the right approach and tooling. If you are a web developer looking to tap the power of React's reusable UI components and the simplicity of Flask for backend development to develop production-ready, scalable web apps in Python, then this book is for you.

Starting with an introduction to React, a JavaScript library for building highly interactive and reusable user interfaces, you'll progress to data modeling for the web using SQLAlchemy and PostgreSQL, and then get to grips with RESTful API development. This book will help you identify your app users and manage access to your web application. You'll also explore modular architectural design for Flask-based web applications and master error-handling techniques.

Before you deploy your web app on AWS, this book will show you how to integrate unit testing best practices to ensure code reliability and functionality, making your apps not only efficient and fast but also robust and dependable.

What You Will Learn

  • Explore React fundamentals for constructing dynamic user interfaces
  • Utilize JSX syntax to render and compose reusable components
  • Integrate third-party libraries and APIs into React applications
  • Implement user authentication and authorization in Flask
  • Develop RESTful APIs using Flask that connect seamlessly with React frontends
  • Build modular Flask applications using blueprints architecture
  • Model and persist data with SQLAlchemy and PostgreSQL
  • Master error handling and unit testing best practices
  • Deploy production-ready applications to AWS infrastructure

Who This Book Is For

This book is for Python developers aiming to build full-stack applications, and frontend engineers expanding their backend capabilities. A foundational knowledge of HTML, CSS, JavaScript, and Python programming is assumed.

Table of Contents

#Chapter
Chapter 1Getting Full Stack Ready with React and Flask
Chapter 2Getting Started with React
Chapter 3Managing State with React Hooks
Chapter 4Fetching Data with React APIs
Chapter 5JSX and Displaying Lists in React
Chapter 6Working with React Router and Forms
Chapter 7React Unit Testing
Chapter 8SQL and Data Modelling
Chapter 9API Development and Documentation
Chapter 10Integrating the React Frontend with the Flask Backend
Chapter 11Fetching and Displaying Data in a React-Flask Application
Chapter 12Authentication and Authorization
Chapter 13Error Handling
Chapter 14Modular Architecture - The Power of Blueprints
Chapter 15Flask Unit Testing
Chapter 16Containerization and Flask Application Deployment

Available Formats

Paperback — $39.99eBook — $28.79

About the Author

Olatunde Adedeji is a full-stack software engineer and architect with extensive experience building production-grade web applications. He specializes in Python back-end development with Flask, React-based front-end engineering, and cloud deployment on AWS. He has helped teams across industries design scalable, maintainable systems and writes to make advanced engineering concepts accessible to practitioners at every level.