Skip to content

Boring-Mind/ckeditor-images

Repository files navigation

ckeditor-images

master codecov Code Quality Score Website boringmind.pythonanywhere.com

The app is an example of blog, which supports adding articles with images and embedded videos via the CKEditor5 - WYSIWYG editor.

Current state:

The app can:

  1. Upload articles and save them in the db
  2. Upload images and save them in the upload folder
  3. Care about security - large requests are refused, images filetype are checked
  4. Display basic blog (some functionality still under the development)

Will be added:

  1. Storing image paths in the article model in order to delete images with article
  2. Blog page with articles list

Project Demo

Main page

Main page gif

Blog detail page

Blog detail page gif

Admin page

Admin page is located by the url "/admin/". By default it's protected by password. Admin page gif

Used technologies:

CI (GitHub Actions):

  1. Snyk - vulnerability fixer (helps to keep dependencies up-to-date)
  2. PyCharm Python Security Scanner - Python and Django security checks
  3. Codecov - Code coverage measurement
  4. Code Inspector - Automated code reviews

Testing:

  1. Splinter for integration browser tests
  2. Model bakery and Factory boy - DB mocking
  3. Pytest - test runner

Requirements

  • Python 3.6 - needed for f-string syntax

Another requirements are listed in requirements.txt