Skip to content

whostolemyhat/weddingphotos

Repository files navigation

#Photo upload site

A webapp created to allow guests at my wedding to upload photos they take.

Runs on Node, Express, Mongo and Backbone (MEBN?).

##Installation

  1. Clone repo
  2. npm install
  3. Make sure MongoDB is installed and running
  4. Create /config/database.js: module.exports = { url: 'mongodb://path/to/your/mongodb' };
  5. Create /config/session.js: module.exports = { secret: 'yoursecretsessionkeyhere' };
  6. Ensure /public/uploads/ and /public/uploads/thumbs/ folders exist
  7. Create appropriate placeholder images in /public/images/ and /public/images/thumbs/
  8. Run nodemon
  9. Create admin user - sign up as usual; open mongo shell and add isAdmin:true to the user

##TODO

  • lazyload img
  • load 25 img; infinite scroll
  • view photos by user
  • sockets/emit
  • show photo on change
  • link to large img
  • username on img
  • set up mongo on webfaction
  • render model on upload
  • thumbs
  • improve upload script
  • login/signup
    • google
    • facebook
    • the twitters
  • multi-img upload
  • loads of styling
  • preview img about to be uploaded

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published