Reader small image

You're reading from  Full-Stack Flask and React

Product typeBook
Published inOct 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803248448
Edition1st Edition
Right arrow
Author (1)
Olatunde Adedeji
Olatunde Adedeji
author image
Olatunde Adedeji

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.
Read more about Olatunde Adedeji

Right arrow

Making Flask backend-ready

In the Setting up the development environment with Flask section of Chapter 1, Getting Full Stack Ready with React and Flask, we set up the development environment for the Flask server. Ensure your virtual environment is activated. You can do so by running the following commands:

  • For Mac/Linux:
    source venv/bin/activate
  • For Windows:
    Venv/Scripts/activate

Your virtual environment should now be activated, and your terminal prompt should be prefixed with the name of the virtual environment (for example, (venv) $).

Next, let’s dive straight into defining an event registration route, with its function as part of the requirements for Bizza application model.

Let’s add a model to handle registrations for event attendees. You will later use it to accept requests from the React frontend in the next section, where we will handle form inputs in React and Flask.

The app.py file in the root directory of your application is still...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full-Stack Flask and React
Published in: Oct 2023Publisher: PacktISBN-13: 9781803248448

Author (1)

author image
Olatunde Adedeji

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.
Read more about Olatunde Adedeji