Spring data playground:

Highly Drafted version:

To play with it, please do as following:

  1. Ensure you have running mysql instance (local/docker container).

  2. Update datasource information in application.properties file accordingly.

  3. Execute sql/init-database.sql before running the application (for now).

  4. Run/Debug the application (ManytomanyApplication) from your IDE.

  5. Go to: http://localhost:8080/swagger-ui.html and make the GET call OR from postman make a GET call to: http://localhost:8080/student/1 http://localhost:8080/student/2