Deployed on heroku. https://expressgallery.herokuapp.com/
Express, Sequelize, HTML5, stored on PostgreSQL
Use the Express, Sequelize, and almost any other library or templating engines you want to fulfill the requirements. recommended: jade and sass. helpful: livereload, gulp for watching compiling sass
Create a multi-user Gallery. Any user should be able to access these routes:
GET /
to view a list of gallery photosGET /gallery/:id
to see a single gallery photo- each gallery photo should include a link to delete this gallery photo
- each gallery photo should include a link to edit this gallery photo
GET /gallery/new
to see a "new photo" form- the form fields are:
author
: Textlink
: Text (the image url)description
: TextArea
- the form fields are:
POST /gallery
to create a new gallery photo iGET /gallery/:id/edit
to see a form to edit a gallery photo identified by the:id
param- the form fields are:
author
: Textlink
: Text (the image url)description
: TextArea
- the form fields are:
PUT /gallery/:id
updates a single gallery photo identified by the:id
paramDELETE /gallery/:id
to delete a single gallery photo identified by the:id
param
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.
- does not have tablet layout
- uses a background image that is not included, you will have to find something similar (subtlepatterns.com)