/flask-blog

Website using flask,html,css,bootstrap,mysql

Primary LanguageJavaScript

Flask Blog App

A Simple blog app using flask and mysql

API Reference

Get all posts

  GET /

Get Slug

  GET /post/<string:post_slug>
Parameter Type Description
post_slug string Required. filters slug to fetch

Admin Dashboard

  GET /dashboard
  POST /dashboard

No Parameters.

Edit Post

  GET /edit/<string:sno>
  POST /edit/<string:sno>
Parameter Type Description
sno string Required. filters post to be edit

Delete Post

  GET /delete/<string:sno>
  POST /delete/<string:sno>
Parameter Type Description
sno string Required. filters post to be delete

Logout

  GET /logout

Simply pops the user session.

About

  GET /about

Gets about page.

Upload Post

  GET /uploader

Uploads file.

Contact Post

  GET /contact

Posts contact.