Giter VIP home page Giter VIP logo

picture-gallery's Introduction

picture-gallery

Picture gallery application to provide the following workflows:

  •   Account Registration - set up a new user account.
    
  •   Login and logout - if not logged in display a login form, once logged in display logout button.
    
  •   Uploading Pictures - Upload content to the site and create a thumbnail to display when listing galleries.
    
  •   Displaying Pictures - Display thumbnails and use them as links to the full-sized pictures. Need to list users galleries.
    
  •   Deleting Pictures - remove uploaded pictures.
    
  •   Account Deletion - remove account and all associated pictures and thumbnails.
    

Build Status

Circle CI

Prerequisites

You will need Leiningen 1.7.0 or above installed. Also need to install Postgresql.

You need to start the postgres database and create a schema called gallery with a user of admin and password of admin. Then open a REPL (e.g. lein repl) and type:

$lein repl

user> (use 'picture-gallery.models.schema)
user> (create-users-table)
user> (create-images-table)
user> (quit)

These commands will create the necessary tables in the postgresql database. Once you have done this you can run the application.

Running

To start a web server for the application, run:

lein ring server

License

Copyright © 2014 Eclipse

picture-gallery's People

Contributors

chrishowejones avatar

Watchers

James Cloos avatar  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.