http://laurapatti-blog.herokuapp.com/
http://tiy-atl-fe-server.herokuapp.com/collections/laura_blog
We are going to be building a blog this week. Today is the first part, get use to setting up Models, Collections and Views. Also, this is a good time to start using Handlebars as your template engine.
I've attached a mockup or what you saw on the board.
You will continue to use the URL for your project - http://tiy-atl-fe-server.herokuapp.com/collections/ - for this application.
Here is the data you will need to use
{ "title": "", // String "content": "", // String "date": "", // String "status": "", // String "author": "", // String "tags": [] // Array of Strings }
You are required to use both Backbone and Handlebars and the actions should be as followed:
- Create a post => sends data to the server after you click "Create Post"
- The new post should be prepended to the top of the post list (newest first)
- The data should persist
- All properties (except status) should be visible in the blog section
Bonus: Upon refresh, sort the blog posts by date
Tonights iteration does NOT need to be deployed anywhere, it eventually will though.