Ressources

1. Télécharger et lancer le projet

Lancer l’image docker présente dans le Dockerfile : docker compose up

Lancer une fois

  1. Lancer la méthode JpaSpringEnterpriseArchitectureApplication.main() une première fois
  2. Ceci va insérer des données dans la table Article et Client
  3. Dans application.properties modifier spring.sql.init.mode=always en spring.sql.init.mode=never

2. Consignes

En vous appuyant sur les Queries By Example créer un endpoint /search permettant de rechercher un étudiant en prenant en compte :

  • LastName : exact matching
  • FirstName : startWith
  • universityName : startWith