This is a web-based quiz application logic and UI built using Java SpringBoot mySQL database and reactJs. It allows users (teachers) to make quizzes, edit them and delete them and also for normal users to take the quizes and be marked.
- User Authentication:
- Login
- Register
- Quizes:
- Get All Quizes
- Get Quiz by Id
- Add Quiz
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- ReactJs
- Java
- Spring
- SpringBoot
- MySql
-
Clone the repo :
git clone https://github.com/mehkad/Java-Quiz.git
-
Run phpmyadmin from wamp server and create a database
-
Go to
./srsc/main/resources/application.properties
and change what seems convinient for your usage:spring.jpa.hibernate.ddl-auto=update spring.datasource.url=jdbc:mysql://localhost:3306/crud spring.datasource.username=root spring.datasource.password= spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-
Go to
./user_interface
and run the following :npm i
To run the project, you have to run the server part and the client's ui :
-
To start the server on your local machine for development purposes, and using the concurrently module, it is recomended to use the intellij ide , and run the main located at :
./src/main/java/isil.java_quiz_server/JavaQuizServerApplication.java
-
To start the ui part, navigate to
./user_interface
and run the following:npm start
The application will start running on http://localhost:3000
Any contributions you make are greatly appreciated.
-
Fork the Project.
-
Create your Feature Branch
git checkout -b feature/AmazingFeature
- Commit your Changes
git commit -m 'Add some AmazingFeature'
- Push to the Branch
git push origin feature/AmazingFeature
- Open a Pull Request
- Email: mehkadiri@gmail.com
- Twitter: @mehkadiri
- Instagram: @meh_kadiri
- portfolio: https://mehkadiri.me