Skip to content

uneikov/gambling_station

Repository files navigation

Dependency Status Codacy branch grade

gambling_station

Gambling Station Web Application

Demonstrates the functionality of the Gambling Station online casino-like game:

For admin role you can make following actions:
  • Add, enable/disable or remove users
  • Add, enable/disable or remove horses
  • See the races list with horses and stakes on the run
  • Make, edit and remove stakes
  • Edit admin profile
For regular user role you can make following actions:
  • Make, edit and remove stakes
  • List stakes with sorting by date, time and race results
  • Edit user profile

To get the code:

Clone the repository:

$ git clone git@github.com:uneikov/gambling_station.git

To test the application:

From the command line with Maven:

$ cd gambling_station
$ mvn test

or

In your preferred IDE such as Intellij IDEA:

  • Import gambling_station as a Maven Project
  • Deploy to tomcat

Access the deployed web application at: http://localhost:8080/gamblingstation/

Note:

This application is deployed on heroku and you can taste it here

Application have scheduler to schedule three time intervals for gambling, race itself and service time and due to free heroku account limitation this app going to sleep after 30 minutes of inactivity, so if you want to get full functionality, you need to wait until new hour starts.

By default all integration tests use heroku postgres database and:

  • Tests starts and run slow
  • You can take exception "too many connections from user role[]... due to free account limitation

About

topjava collocation project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages