Blog posts - first pass
Opened this issue · 0 comments
hbrysiewicz commented
For a first pass, basic CRUD for blog posts. Users should be authenticated so blocked by #5. For a first pass this should be limited to white-listed users (admins).
Open for conversation - should we just leverage an existing blogging platform and API rather than rolling our own?
Subtasks
-
BlogPost
model -
POST
for/posts
will create a newBlogPost
-
GET
for/posts
will return allBlogPost
in order of most recent, un-archived only -
PUT
for/posts/:id
will update aBlogPost
that already exists -
DELETE
for/posts/:id
will archive aBlogPost
that already exists - Attribute validation for
POST
andPUT
actions - Testing
Blog Post Model
- crud timestamps
- title
- author relationship
- body (markdown)
- header image (like on medium)
Resources
Join our Slack and join the #sdjs-website
channel
Checkout the sandiegojs ember appi