Flask CRUD
About Lesson

In this Flask CRUD Application lesson we are going to learn about Flask CRUD Application Body Design, basically in this lesson we want to design our body, we want to create a table for populating our data, but for right now it is just static data, till now we have not connected our Flask Application with MySQL database, also we are going to create some buttons for adding, deleting and updating employees.

 

 

Now open your index.html file and add this code, basically in this code we have a bootstrap table for populating the data with some buttons for adding, updating and deleting the data.

 

templates/index.html

 

 

 

This is our App.py file.

 

 

 

templates/base.html

 

 

 

templates/header.html

 

 

 

Run your application and go to http://localhost:5000/, this will be the result.

Flask CRUD Application Body Design
Flask CRUD Application Body Design