Express, Sequelize, HTML5, stored on PostgreSQL
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
- does not have tablet layout
- uses a background image
- Create a database for the project in postgres. (
express_gallery
) - Run
npm start
- Run
sequelize db:seed:all
- Run
gulp
- (Linux) gulp may not automatically run redis-server, in that case start it up manually before the next step
- gulp should bring up a Chrome window at http://localhost:7000