Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (33 loc) · 1.42 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.42 KB

Flask blog

Simple blogging system written in Python using Flask framework. Application is using Mysql (mariadb) database for storing data, SQLAlchemy for ORM and WTForms for forms.

blog

Dependencies

Full list of dependencies can be found in requirements.txt.

Project setup

Requirements

  • Docker
  • docker-compose

Setup

docker-compose up

Application will be available at localhost. Login credentials for login page are admin@localhost and password.

Endpoints

Endpoint Method Description
/ GET Home page
/login GET, POST Login
/logout GET Logout
/post/create GET, POST Create post
/post/{id} GET Post
/post/{id}/edit GET, POST Edit post
/post/{id}/remove GET, POST Delete post
/user/create GET, POST Create user
/user/{id} GET User profile
/user/{id}/edit GET, POST Edit user