A simple end to end blogging application created using flask and MySql.
Users can register and login to website to write a blog. Viewers without login also.
-
Create a database named flaskapp in MySql
-
Create tables named users and articles
-
Change MySql credentials in
app.py
file (line : 13) -
Open command prompt and navigate to project folder and then run app.py
python app.py
-
you can see that project is running on localhoat port number 5000, can acess through
localhost:5000
All tables codes are written in database.txt
file.
class diagram
Home page
Register page
Login page