#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
- Clone repo
npm install
- Make sure MongoDB is installed and running
- Create /config/database.js: module.exports = { url: 'mongodb://path/to/your/mongodb' };
- Create /config/session.js: module.exports = { secret: 'yoursecretsessionkeyhere' };
- Ensure /public/uploads/ and /public/uploads/thumbs/ folders exist
- Create appropriate placeholder images in /public/images/ and /public/images/thumbs/
- Run
nodemon
- 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
- the twitters
- multi-img upload
- loads of styling
- preview img about to be uploaded