Git Product home page Git Product logo

movierama's Introduction

The MovieRama application is a Spring Boot application which uses Maven for managing its build lifecycle. It has been built with Java 8 and can be run like this: java -jar movierama-1.0.war , the war file can be found under target. Alternatively, one can run it through the IDE of choice. For simplicity, no actual Database has been used for storing the data needed but rather an EhCache has been used with a time to live big enough for the purposes of this demo application.

The application caches its queries to an EhCache implementation for somewhat less than a week (timeToLiveSeconds="600000"). You can check ehCache configuration under ehcache.xml.

After running the application, one can visit the homepage as follows: http://localhost:8080/

This will lead you to the default homepage for an anonymous user. You are free to test the functionality implemented, by accessing this page.

A test user has been created (Registration works normally as well in case you want a different User): username: Gandalf password: 123

Some movies are imported during startup for exhibition purposes. A logged in user can add movies through the button provided.

The class MovieRamaController listens to all the endpoints configured and acts accordingly. MovieRamaServiceImpl and UserServiceImpl are the services that implement most of the actual functionality. No db layer has been built since there is no need for such a small application.

IN ORDER TO RUN THE APPLICATION: JAVA 8 required Go to the root directory (movierama-project) and type:

java -jar target/movierama-1.0.war

movierama's People

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.