This is a quiz / Examination system built with spring boot java framework
Setup JDK in your computer before you can run this project.You can follow this link to setup java on your computer.
https://phoenixnap.com/kb/install-java-windows
Clone the repository into your computer.
Open the application in your favorite IDE/Text Editor.
Locate the application.properties file and modify the database username,password,
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/database-name //modify the databaseName
spring.datasource.username = root //Modify this to your sql usernmae
spring.datasource.password = password //modify this to sql password or blank if you did not set password.
spring.jpa.show-sql = false
spring.jpa.hibernate.ddl-auto = create
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
server.port=9003
Run the application from you IDE using the Run
button or you can use the terminal to run the project. use the below
command to launch the application
mvn spring-boot:run
- User : This holds the information of the user entity.
- Question : This holds a text field that store the questions into the table
- Option : This holds the options that are available to a question,also have a many to one relationship with Question
- Quiz : This belongs to a user.it stores the quiz session that a user took.
- QuizAnswer: This holds the information of the answer a user took.Also with it questionId.
The api documentation was documented using postman.Check the API Documentation by clicking this link Here
Today I will be discussing on building a quiz/Exam application using springboot. So pretty much in this application we want to expo some endpoint to a user to be able to the user to be able register and login.When the user login to the application a token will be return so with that token.