Full-Stack Flask and React
Learn, code, and deploy powerful web applications with Flask 2 and React 18
AvailableDescription
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 1 | Getting Full Stack Ready with React and Flask |
| Chapter 2 | Getting Started with React |
| Chapter 3 | Managing State with React Hooks |
| Chapter 4 | Fetching Data with React APIs |
| Chapter 5 | JSX and Displaying Lists in React |
| Chapter 6 | Working with React Router and Forms |
| Chapter 7 | React Unit Testing |
| Chapter 8 | SQL and Data Modelling |
| Chapter 9 | API Development and Documentation |
| Chapter 10 | Integrating the React Frontend with the Flask Backend |
| Chapter 11 | Fetching and Displaying Data in a React-Flask Application |
| Chapter 12 | Authentication and Authorization |
| Chapter 13 | Error Handling |
| Chapter 14 | Modular Architecture - The Power of Blueprints |
| Chapter 15 | Flask Unit Testing |
| Chapter 16 | Containerization and Flask Application Deployment |
Available Formats
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.
