https://github.com/danielpuentee/quiz-java
Short quiz to create questions and play games. It is created in Java and Maven and Dockerised.
https://github.com/danielpuentee/quiz-java
java maven spring spring-boot
Last synced: 9 months ago
JSON representation
Short quiz to create questions and play games. It is created in Java and Maven and Dockerised.
- Host: GitHub
- URL: https://github.com/danielpuentee/quiz-java
- Owner: DanielPuentee
- Created: 2022-10-04T09:53:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T09:22:53.000Z (almost 3 years ago)
- Last Synced: 2025-04-12T02:13:20.954Z (9 months ago)
- Topics: java, maven, spring, spring-boot
- Language: Java
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤯 Quiz server applying Mysql and Spring Boot with JPA
[](https://github.com/psf/black)
## 🔩  How install the server
```sh
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 |