Today we'll be using the sequelize cli
to make a Reddit clone. However we won't be implementing a user authentication system.
- title
- body
- postID (association)
- comment
- postID (association)
- vote
GET
forindex.html
GET
/POST
/DELETE
for/api/post
GET
/POST
/DELETE
for/api/comment
GET
/POST
/DELETE
for/api/vote
- Display page for all Comments
- Display page for single Comment
- Make a Post form
- Make a Comment form for a Post
- Upvote button / Downvote button for each Post