Implement a web API for managing blog posts and photos #14

Open
opened 2022-10-20 18:49:28 +00:00 by erynofwales · 0 comments
erynofwales commented 2022-10-20 18:49:28 +00:00 (Migrated from github.com)

I'd like to be able to write and manage posts and photos from an app on my phone. To do this I'll need a web API that interacts with this git repo.

My convention for posts so far has been to create a topic branch per post. Once I'm ready to publish, I set draft = false and merge the branch to main. Then, I deploy the site.

The API can query for branches matching a particular name and return them as a list of draft posts.

Deleting a post draft is easy enough to do by just deleting the branch.

I'd like to be able to write and manage posts and photos from an app on my phone. To do this I'll need a web API that interacts with this git repo. My convention for posts so far has been to create a topic branch per post. Once I'm ready to publish, I set `draft = false` and merge the branch to `main`. Then, I deploy the site. The API can query for branches matching a particular name and return them as a list of draft posts. Deleting a post draft is easy enough to do by just deleting the branch. <!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: eryn/erynwells.me#14
No description provided.