MEH stack - Mongo Express and HTML5
Use the MEH stack plus almost any other library or templating engines you want to fulfill the requirements.
recommended: sass, jade, mongoose, bower, jQuery, foundation.
helpful: livereload, gulp for watching compiling sass
Create a multi-user News.
Any user should be able to access these routes:
GET /to view a list of news post entriesGET /news/:idto see a single news post- each news post should include a link to delete this news post
- each news post should include a link to edit this news post
GET /new_newsto see a "new news post" form- the form fields are:
author: Texttitle: Textbody: TextArea
- the form fields are:
POST /newsto create a new news post iGET /news/:id/editto see a form to edit a news post identified by the:idparam- the form fields are:
author: Texttitle: Textbody: TextArea
- the form fields are:
PUT /news/:idupdates a single news post identified by the:idparamDELETE /news/:idto delete a single news post identified by the:idparam
Your app should be stored in subdirectory /app.
The layout of the app must match the layouts included in /layouts.
Match the layout as close as you can, using free and open fonts and graphics.
hard because listing and detail pages are so different.
does not have tablet layout
uses a background image and font that are not included, you will have to find something similar (subtlepatterns.com)
npm install -g node-gyp