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.
Full list of dependencies can be found in requirements.txt.
- Docker
- docker-compose
docker-compose up
Application will be available at localhost. Login credentials for login page are admin@localhost
and password
.
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 |