Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Full-Stack Flask and React

You're reading from   Full-Stack Flask and React Learn, code, and deploy powerful web applications with Flask 2 and React 18

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781803248448
Length 408 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Olatunde Adedeji Olatunde Adedeji
Author Profile Icon Olatunde Adedeji
Olatunde Adedeji
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1 – Frontend Development with React
2. Chapter 1: Getting Full Stack Ready with React and Flask FREE CHAPTER 3. Chapter 2: Getting Started with React 4. Chapter 3: Managing State with React Hooks 5. Chapter 4: Fetching Data with React APIs 6. Chapter 5: JSX and Displaying Lists in React 7. Chapter 6: Working with React Router and Forms 8. Chapter 7: React Unit Testing 9. Part 2 – Backend Development with Flask
10. Chapter 8: SQL and Data Modeling 11. Chapter 9: API Development and Documentation 12. Chapter 10: Integrating the React Frontend with the Flask Backend 13. Chapter 11: Fetching and Displaying Data in a React-Flask Application 14. Chapter 12: Authentication and Authorization 15. Chapter 13: Error Handling 16. Chapter 14: Modular Architecture – Harnessing the Power of Blueprints 17. Chapter 15: Flask Unit Testing 18. Chapter 16: Containerization and Flask Application Deployment 19. Index 20. Other Books You May Enjoy

What this book covers

This book is divided into 16 chapters, each focusing on essential concepts and practical techniques that you need to know to become proficient in full stack Flask web development with React.

Let’s take a closer look at the chapters:

Chapter 1, Getting Full Stack Ready with React and Flask, lays the groundwork for your full stack development journey. We will discuss the reasons for developing web applications with React and Flask. You’ll learn how to set up your development environment and install React and Flask. You will also learn the fundamentals of Git for source versioning and the project we will build in this book.

Chapter 2, Getting Started with React, introduces you to the basics of React, including exploring the React project structure, components, props, and state. We will discuss JavaScript concepts frequently used in React, such as destructuring, arrow functions, and default and named exports. You’ll build a solid foundation to create React applications.

Chapter 3, Managing State with React Hooks, delves into the power of React Hooks, such as useState, useEffect, useContext, useRef, useMemo, useCallback, and useReducer. You’ll discover how Hooks simplify state management and enable you to create more reusable and scalable code.

Chapter 4, Fetching Data with React APIs, focuses on fetching data in React applications. You’ll explore different techniques using React Query, async/await syntax, the Fetch API, and Axios; handle loading and error states; and implement caching for efficient data retrieval.

Chapter 5, JSX and Displaying Lists in React, covers the display of dynamic lists in React. You’ll learn how to use JSX as a bridge that connects JavaScript and HTML, implement nesting lists in JSX, loop over objects in JSX, and efficiently handle events in React.

Chapter 6, Working with React Router and Forms, guides you through the process of handling form input and validation, form submission, and implementing client-side routing using React Router.

Chapter 7, React Unit Testing, teaches you how to write comprehensive unit tests for React components using Jest and React Testing Library. You’ll gain confidence in the quality and reliability of your code.

Chapter 8, SQL and Data Modeling, introduces you to SQL and database modeling. You’ll learn how to set up databases, perform CRUD operations, and design efficient data models for your applications.

Chapter 9, API Development and Documentation, dives into the world of API development with Flask. You’ll understand RESTful API concepts, implement CRUD operations, and document your APIs effectively.

Chapter 10, Integrating the React Frontend with the Flask Backend, focuses on establishing communication between the React client and Flask backend. You’ll learn how to handle API calls and requests seamlessly.

Chapter 11, Fetching and Displaying Data in a React-Flask Application, explores the process of fetching and displaying data in a full stack React-Flask application. You’ll learn how to handle CRUD operations in a Flask-React application. You will also learn how to handle pagination in a Flask application.

Chapter 12, Authentication and Authorization, covers essential topics of user authentication and authorization. You’ll implement secure login and registration functionalities, identify system users and manage their information, learn about session management, create a password-protected resource, implement flash messages in Flask, and ensure the security of your application.

Chapter 13, Error Handling, delves into effective error-handling techniques in Flask applications. You’ll learn about different types of errors and how to use Flask debugger, create error handlers, create custom error pages, track events in your application, and send error emails to administrators.

Chapter 14, Modular Architecture – The Power of Blueprints, introduces the concept of modular architecture and blueprints in Flask. You’ll learn how to organize your code base into reusable modules and create a scalable application structure.

Chapter 15, Flask Unit Testing, explores the importance of unit testing in Flask applications. You’ll discover techniques to write comprehensive tests for your Flask components, ensuring the robustness of your backend.

Chapter 16, Containerization and Flask Application Deployment, concludes the book by covering the deployment and containerization of Flask applications. You’ll learn how to deploy your applications on servers and leverage containerization technologies for efficient deployment.

Each chapter is crafted to provide clear explanations to develop an interactive and efficient fast enterprise web application. You’ll gain a deep understanding of both React and Flask and become proficient in developing full stack web applications.

We hope this book serves as your essential definitive guide on your journey to becoming a skilled full stack web developer. Don’t hesitate to experiment, ask questions, and explore beyond the boundaries of the topics we cover. This book serves as a starting point, but the possibilities are endless. Let’s dive in and unlock the limitless potential of Full Stack Flask Web Development with React!

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime