2016-12-05 Blog Editor Notes
Notes from 3-day sprint
Making wysiwyg blog editor
The purpose of this project is to make it easy for non-technical people to update/make posts in a jekyll-blog. A very concrete use case is my mothers blog, as well as be able to setup non-maintenance websites for other people.
Intended functionality in initial version:
- list/choose a draft/post
- rename/save draft/post (deletes old version, if different name)
- editing a choosen draft/post
Later:
- images as separate files
- autosave
- autocreate username/username.github.io if no repository is entered
Tasks:
- √create repository
- √github login with mubackend
- √list html files in
/posts
and/drafts
- √read file + meta-data from github into app-db
- √integrate file and editor
- √write/change file on github
- ÷remove file on github if rename
- ÷publish
react-native notes
- You get hotloading, by enabling it on the device in the developer menu (ctrl-n)
- console.log output via
adb logcat
- Likely stack: React-native + Redux + ImmutableJS + (Realm or just AsyncStorage + encryption)
- Links