Code Monkey home page Code Monkey logo

image-gallery's Introduction

image-gallery

This is an image gallery application built with Spring Boot, Spring MVC, Spring Data JPA, Spring Security, Thymeleaf, and Bootstrap. It allows users to upload images to their gallery, which can then be searched for by other users.

In order to run the application, clone or download it. You can import it into your ide or you can go to the location where it is saved and run mvn clean spring-boot:run . The program will start up on localhost:8080.

Once the application is running, register a username and then login. Here you will be directed to your My Photos page where you upload photos and also delete them. The Find Photos allows you to search for other users photo galleries. Type in your own username to see what your gallery looks like. Create some other mock users and upload photos as well.

The program is running an in-memory H2 database, but to connect it to another database, just unmark the properties in the application.properties file.

The images are set to be saved in a temporary directory, but this can be changed by going to the ImageGalleryApplication class and changing the Path to something else such as Paths.get("/home/mydirectory/images").

An example can be found at https://image-demo.cfapps.io/ . Search for "jon" to see my current gallery.

image-gallery's People

Contributors

jonathanborenstein avatar

Watchers

 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.