plan d'action pour le dev
This commit is contained in:
parent
2f7db91628
commit
a4e188bff8
1 changed files with 75 additions and 0 deletions
75
FencerJudgeBack/README.md
Normal file
75
FencerJudgeBack/README.md
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
## Entités
|
||||
MATCHS -> MatchBean, MatchRepository
|
||||
MatchBean:
|
||||
- id:Long
|
||||
- player1:PlayerBean
|
||||
- player2:PlayerBean
|
||||
- referee:RefereeBean
|
||||
- score1:Int (score du player1)
|
||||
- score2:Int (score du player2)
|
||||
- date:String (date du match)
|
||||
- state:String (état du match : terminé, en cours, pas commencé)
|
||||
|
||||
REFEREES (arbitres) -> RefereeBean, RefereeRepository
|
||||
RefereeBean:
|
||||
- id:Long
|
||||
- name:Long
|
||||
|
||||
PLAYERS -> PlayerBean, PlayerRepository
|
||||
PlayerBean:
|
||||
- id:Long
|
||||
- name:String (nom)
|
||||
- firstName:String (prénom)
|
||||
|
||||
## Services
|
||||
MatchService:
|
||||
->
|
||||
|
||||
RefereeService:
|
||||
PlayerService:
|
||||
|
||||
## RestControllers
|
||||
MatchRestController:
|
||||
-> Lister tous les matchs
|
||||
-> Lister tous les matchs à partir d'une certaine date
|
||||
-> Lister les matchs en cours (état : en cours)
|
||||
-> Lister les matchs terminés (état : terminé)
|
||||
-> Lister les matchs non commencés (état : non commencé)
|
||||
|
||||
-> Afficher un match par id
|
||||
-> Mettre à jour le score1 d'un match récupéré par id
|
||||
-> Mettre à jour le score2 d'un match récupéré par id
|
||||
|
||||
-> Ajouter un match (créer nouveau MatchBean dans MatchRepository)
|
||||
|
||||
-> Supprimer un match (supprimer élément de MatchRepository en récupérant l'id)
|
||||
|
||||
RefereeRestController:
|
||||
-> Lister tous les arbitres
|
||||
-> Afficher un arbitre par id
|
||||
-> Afficher un arbitre par nom
|
||||
|
||||
-> Ajouter un arbitre (créer nouveau RefereeBean dans RefereeRepository)
|
||||
|
||||
-> Supprimer un arbitre (supprimer élément de RefereeRepository en récupérant l'id)
|
||||
|
||||
PlayerRestController:
|
||||
-> Lister tous les joueurs
|
||||
-> Afficher un joueur par id
|
||||
-> Afficher un joueur par nom
|
||||
|
||||
-> Ajouter un joueur (créer nouveau PlayerBean dans PlayerRepository)
|
||||
|
||||
-> Supprimer un joueur (supprimer élément de PlayerRepository en récupérant l'id)
|
||||
|
||||
## Pages
|
||||
Page des matchs (publique) :
|
||||
à définir (partie front sur Angular ?)
|
||||
|
||||
Page de connexion à l'administration (publique) :
|
||||
formulaire :
|
||||
- nom d'utilisateur
|
||||
- mot de passe
|
||||
|
||||
Page d'administration (privée) :
|
||||
à définir (partie front sur Angular ?)
|
||||
Loading…
Add table
Reference in a new issue