Blog example made with Flask.
Check everything at Hereku HERE
Features
- SQL Database using SQLalchemy: Register, Log in, Comments, Make, Edit or Delete Posts
- Only admin(ID 1) can Post, Edit or Delete a post.
- Hash protected passwords with salt length of 8(can be increased).
- Wrong email or password warning.
- Email already exists warning.
- Logout
- Identifiable if the user is logged in and if it is an admin or a normal user.
- Editing a post automatically fills in what was there before.
- Forms protected with CSRF protection using WTForms.
- Style with CSS Bootstrap, mobile friendly.
- Random user comment image with Gravatar.
ADMIN LOGIN
email: admin@admin.com pass: admin
Post Example
Create Post
Edit or Delete Post
Comments
Login
Register
Admin Buttons
User not logged in
Path to improvements
i acknowledg that some features could be added, such as: -Order posts by date -Search for posts -Suggested posts on sidebar -Contact page could send a email -Improved design
Right now I have enough knowledge to implement it, but I want to focus on learning new libraries and features. Maybe I will come back to this project in the future.










