Giter Site home page Giter Site logo

express-gallery's Introduction

Express Gallery

Express, Knex.js, Bookshelf.js, HTML5, stored on PostgreSQL

Use the Express, Knex.js, Bookshelf.js, and almost any other library or templating engines you want to fulfill the requirements. recommended: Handbars 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 photos
  • GET /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 : Text
      • link : Text (the image url)
      • description : TextArea
  • POST /gallery to create a new gallery photo i
  • GET /gallery/:id/edit to see a form to edit a gallery photo identified by the :id param
    • the form fields are:
      • author : Text
      • link : Text (the image url)
      • description : TextArea
  • PUT /gallery/:id updates a single gallery photo identified by the :id param
  • DELETE /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.


Responsive Layout

  • does not have tablet layout
  • uses a background image that is not included, you will have to find something similar (subtlepatterns.com)

Stretch Goals

Once you have finished with all of the requirements outlined above, you are encouraged to work on these additional stretch goals to improve the quality and usablity of your application.

  • Make friendly error messages for users attempting to login using connect-flash.
  • Make your site beautiful with SCSS. Note: No external libraries are allowed, be sure to use vanilla SCSS and/or JavaScript to style your application.
  • Add intergration tests using Mocha and Chai, and end-to-end tests using SuperTest.
  • Create an Admin role, that has elevated privledges. (i.e. Admin can delete users, Admin can edit/delete any post, etc.).
  • Get a code review from an instructor or TA โœจ

express-gallery's People

Contributors

dmeowmixer avatar champstarr avatar theremix avatar joekarlsson avatar sgnl avatar jaywon avatar taesup avatar nakaz avatar nigelearle avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.