Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.19 KB


🤯 Quiz server applying Mysql and Spring Boot with JPA

Code style: black

🔩  How install the server

docker network create app-spring
cd MvanProject/Service/mysql/
docker build -t mysql-spring .
docker run -d --name mysql-spring --network app-spring mysql-spring:latest
cd ..
cd quiz/
docker build -t app-spring .
docker run --rm -it --name app-spring -p 8080:8080 --network app-spring app-spring:latest

🔎 Search

Search Type Command Result
GET http://localhost:8080/preguntas Every answer and question of the Quiz
GET http://localhost:8080/preguntas/ All questions with the indicated word are displayed
DELETE http://localhost:8080/ The question containing that ID will be deleted
POST - PUT http://localhost:8080/ Questions can be introduced or updated