Full-Stack Flask and React: Learn, code, and deploy powerful web applications with Flask 2 and React 18
by: Olatunde Adedeji (Author)
Publisher finelybook 出版社: Packt Publishing (October 6, 2023)
Language 语言: English
Print Length 页数: 408 pages
ISBN-10: 1803248440
ISBN-13: 9781803248448
Book Description
Get to grips with UI interaction, data modeling, API development, and documentation while building modern web apps for cloud deployment
Key Features
Combine Flask’s pagination techniques with React’s dynamic rendering for an enhanced user experience
Implement robust API development within Flask applications by performing CRUD operations
Improve Flask app scalability with blueprints using a modular development approach
Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Developing an interactive, efficient, and fast enterprise web application requires both the right approach and tooling. If you are a web developer looking for a way 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 aid you in identifying your app users and managing 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.
By the end of this book, you’ll have acquired deep knowledge of the Flask and React technology stacks, which will help you undertake web application development with confidence.
What you will learn
Explore the fundamentals of React for building user interfaces
Understand how to use JSX to render React components
Handle data and integrate third-party libraries and APIs into React applications
Secure your Flask application with user authentication and authorization
Discover how to use Flask RESTful API to build backend services with React frontend
Build modular and scalable Flask applications using blueprints
Who this book is for
This book is for Python web developers who want to build full-stack applications, as well as for frontend developers seeking to expand their skillset by employing Flask as a backend development tool. You’ll gain proficiency in both frontend and backend skills, and acquire the knowledge necessary to deploy solutions in the cloud using AWS. Prior knowledge of basic HTML, CSS, JavaScript, and Python programming will help you to get the most out of this book.
Table of Contents
1. Getting Full Stack Reacy with React and Flask
2. Getting started with React
3. Mlanaging State with React Hooks
4. Fetching Data with React APIs
5. JSX and Displaying Lists in React
6. working with React Router and Forms
7. React Unit Testing
8. SQL and Data [vlodelling
9. APl Development and Documentation
1O. Integrating the React Frontend with the Flask Backend
11. Fetching and Displaying Data in a React-Flask Application
12. Authentication and Authorization
13. Error Handling
14. [vlodular Architecture- The Power of Blueprints
15. Flask Unit Testing
16. Containerizati on and Flask Application Deployment
About the Author
Olatunde Adedeji is a seasoned web developer with over 15 years of experience in developing dynamic and detail-oriented enterprise web applications. Along with his extensive experience in developing, maintaining and supporting mobile, web and enterprise applications in Python, Go and JavaScript, Olatunde has consistently delivered excellent services, as team lead, team member or in consultancy capacity.
Olatunde is proficient in application design and solution blueprinting; including mastery of application development tools such as: Flask, Django, Gin, React, and NodeJS. When not weaving the web and playing chess, Olatunde spends time with his wife, Adedoyin and two daughters, Mitchelle and Mabel. Amazon page