Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.29 KB

File metadata and controls

26 lines (22 loc) · 1.29 KB

BLOG

This is my capstone project, it is a light-weight blog built with flask and other packages in requirements.txt. A blog with anonymous user, users can mask their identity and read about possible solutions to internal problems.

Steps

  1. Structure Project, use flask blueprint
  2. Finding html template or code one - template from here
  3. Edit the template to fit your need
Route Template Redirect to Methods
/ index.html None GET
/register register.html / GET, POST
/login login.html / GET, POST
/logout ------------- / GET
/about about.html None GET
/contact contact.html None GET
/blog/all GET
/blog/new make-post.html / GET, POST
/blog/ post.html /login or /# GET, POST
/blog/edit/ make-post.html /post/ GET, POST
/blog/delete/ ------------- /post/all GET
NB: # means the same route