Skip to content

xeax/task1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task solution

Code structured according to https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/html/using-boot-structuring-your-code.html

Docker image published on DockerHub: https://hub.docker.com/r/xeax/task1/tags

REST API with Swagger-UI published on Heroku: https://mysterious-ridge-97198.herokuapp.com/swagger-ui/

Endpoints according to requirements:

I didn't have time to implement effective data extraction for graphs and rendering. Here is just an endpoint for data extraction for the graph. https://mysterious-ridge-97198.herokuapp.com/swagger-ui/#/Voting%20controller/getVoteStatisticsUsingGET (demo data filled for quoteId=1). Perhaps an interesting option would be to draw a graph on the front with animation, for example, using https://d3js.org/.

Demo data installed:

  • 4 users
  • 3 quotes from users 2-4
  • 4 votes on quote #1 from users 1-4

PS: All actions except user registration are treated as committed by user #1 (login="test"), since authorization is not implemented.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published