Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello everyone,

First of all I'm not native english speaker so sorry for the mistakes I'm going to write.

I need to develop a quizz webapp with Springboot.
I learn java since 7 years but never work with multithreading and websockets...

I'd like to create something like :
1) Admin create a room and add members who will be able to have access to this room.
2) Each User joins the room (they have to be log on)
2) Admin start the 1st round and users send their answer
3) When User send his answer Admin can see it in a tab like :
Username - Answer
User1 - Waiting...
User2 - Hello
User3 - Hi
User4 - Waiting...
4) When Admin is done with the 1st round (basically when he receives answer of each User) he presses a button " Show the result" and print the result on another screen.
5) Then he will have to presses "Next round" and we repeat those operations

So actually all that I know : I'll have to use websockets for the backend and javascript as client but I'm a bit lost about the structure of my project... I'd also like to use MVC and single page application as I've read that it's more optimized with websockets. And I don't know if I'm going to learn Angular or React for the frontend but any advices are welcome...

If someone can also help me with what I need to use in my back end and what I need in my front it will be really appreciated ! I dont want any code from you just a guide like :
1) make your rest back end (connexion, and other stuffs not using websockets)
2) install ws and create your back end client
3) create your front end client
4) ...

Thank you so much,
Have a good day

What I have tried:

Lot of research on the net but I need specific advices
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900