- Spring Boot
- Swagger Code gen - to generate rest client
db url http://localhost:8080/h2-console
https://api.themoviedb.org/3/movie/550?api_key=
https://api.themoviedb.org/3/discover/movie?sort_by=popularity.desc&api_key=
- Quiz Should be sent with unique Id and 10 random questions. Quiz should persist. >> DONE
- Persist the db in file. Dont call the service if questions exist. >> DONE
- Quiz should not have answers >> DONE
- Answers could be submitted to a quiz and result should be available
- Session should have one quiz and multiple users to play.
- Each user get their uniqe id
- Session can be in memory
- Session should have leader board
- Use WebSockets
- Each question should appear for certain time and answer should be shown at the end
- Real time LeaderBoard should be available
- Winner should be shown at the end of the quiz
Nice article on one-to-many https://www.callicoder.com/hibernate-spring-boot-jpa-one-to-many-mapping-example/