https://github.com/pranavarora1895/quizrest
REST Application using Spring Boot
https://github.com/pranavarora1895/quizrest
crud many-to-one postgresql rest-api spring-boot
Last synced: about 2 months ago
JSON representation
REST Application using Spring Boot
- Host: GitHub
- URL: https://github.com/pranavarora1895/quizrest
- Owner: pranavarora1895
- Created: 2023-05-09T15:59:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T17:03:42.000Z (about 3 years ago)
- Last Synced: 2025-12-27T17:31:04.895Z (6 months ago)
- Topics: crud, many-to-one, postgresql, rest-api, spring-boot
- Language: Java
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quiz Rest
> Spring Application that creates REST APIs for Quiz and the Topic modules.
- Each Quiz contains set of Topics. So Topics->Quiz **(ManyToOne Mapping)**
> The application was connected to PostgresSQL Database.
## REST APIs for Quiz:
- GET - localhost:8080/quiz - To get all the quizzes
- GET - localhost:8080/quiz/comp102 - To get a single quiz
- POST - localhost:8080/quiz - Create a Quiz
- PUT - localhost:8080/quiz/comp102 - Edit a single quiz
- DELETE - localhost:8080/quiz/mat203 - Delete a Quiz
## REST APIs for Topics:
- GET - localhost:8080/quiz/bio102/topics - Get all topics in the particular quiz
- GET - localhost:8080/quiz/bio102/topics/cell101 - Get a topic under particular quiz
- POST - localhost:8080/quiz/bio102/topics - Create a topic under a quiz
- PUT - localhost:8080/quiz/bio102/topics/cell101 - Edit a topic under the quiz
- DELETE - localhost:8080/quiz/bio102/topics/cell101 - Delete a topic under a quiz
> Spring Data Actuator was used to do the health check of the application.