The name is a joke about another well-known blogging platform. Basically, I wanted to tinker around with the JSON-based editor called tiptap.
- Clone this repo
- You'll need two shell windows to run the project, and you'll need
node
(v8+),yarn
, andnpm
installed globally - In the first shell
cd <project root>/client && yarn install && yarn start
- In the second shell
cd <project root>/server && npm install && npm start
- Navigate to
localhost:8082
in your browser - Register a user
- Create a post
- Allows you to register, create a user (as a joke, it rejects any non-gmail accounts)
- Create a post
- Save a post
- Delete posts
- Read-only list view of HTML preview of posts from JSON doc representation stored in sqlite db
- View posts from all users
- View posts created by the current user
- Uses vuex to store user & token
- Login state persists
- The
vue-material
library is I think mostly abandoned, I think the active library in the community is actuallyvuetifyjs
- Fix a handful of janky styling issues in the editor views
- Get passport or similar middleware in there and prevent users from deleting each other's posts, though the communal sharing of all posts is also pretty amusing
- Errors and error codes by the server are not properly organized and represented by error classes with custom messages / correct status codes as they should be
- Stretch goal was to send an HTML representation to a 3rd party platform via a
Publish External
type button (probably WP via the WP API plugin), didn't get to that yet