Skip to content

aahmadnejad/blog-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Starter Blog

this web page is a starter blog with flask , jquery and bootstrap. you can signup or login -nav links- and test this website. also you can post a blog. you can update or delete a blog post if you post it with your own account. this website's DB powered by Sqlite but you can change it in SQLALCHEMY config and use other database.

ok let's check the pages here:

1. Home Page all blogs sorted by date.all posts all paginated. each cards show blog's title and author and date. the author is clickable and if you click on that you can see all posts from that author( number 10 ) flask , Flask Blog

2. Signup the email and other things will check by Flask Form. password will saved in database in hash version with Werkzeug. check model.py flask , Flask Blog

3. Login flask , Flask Blog

4. posts here if you try to delete a post that is not your post you will see 403 error page flask , Flask Blog

5. New post flask , Flask Blog

6. User post here you have access to delete or update your post flask , Flask Blog

7. 403 error Page it's really cute :) flask , Flask Blog

8. User Profile edit here you can change your account info or change your profile defualt picture. flask , Flask Blog

9. 404 error Page also this one is cute too :)) flask , Flask Blog

10. User's Posts flask , Flask Blog

Libraries in use:

FLASK

SQLALCHEMY

WERKZEUG

FLASK LOGIN

FLASK FORM