Skip to content

Python-Flask Web Application CRUD Example with MySQL Database

Notifications You must be signed in to change notification settings

syedsaadahmed/Python_flask_CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Python_flask_CRUD

Python-Flask Web Application CRUD Example with MySQL Database

This repository is based on simple code and example for Python web application CRUD example using Flask and MySQL. CRUD means Create, Read, Update and Delete operations. This example will let you add new record, read and show records, update record and delete record. Python-Flask web application framework or module is being used to handle the requests and responses from users. For better understanding of code and working, read the comments present in the file and you will get to learn things easily.

Running the application

Python main.py

Checking the User Interface

https://localhost:5000/

Installing Flask and MySQL on Ubuntu 16.04

pip install Flask

sudo apt-get install mysql-server

Run the following command to allow remote access to the mysql server:

sudo ufw allow mysql

Start the MySQL service

systemctl start mysql

About

Python-Flask Web Application CRUD Example with MySQL Database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published