Giter Club home page Giter Club logo

quizapp's Introduction

QUiZ APP Monolithic Application using Spring-Boot 4 with sts3 plugin and JAVA-17

Required softwares:
JAVA
STS4
PostgreSql
PgAdmin4
Postman-API
tomcat server 9+ in sts

Step By Step Process of How to Run the QuizApp

Steps:
1. Run the app using springboot (sts4 with sts3 plugin, maven, JavaSE-17) also download and install postman.
2. Check if postgreSQL (PostgreSQL 16.1) and pgAdmin 4 is installed and active (username- postgres, password- 9840, port- 5432)
3. Add a database called questiondb and create a table question with columns
(id-integer-not null-primarykey-Constraints:by Default:increment 1:Start 1)
(category-character varying-not null)
(difficultylevel-character varying-not null)
(option1-character varying)
(option2-character varying)
(option3-character varying)
(option4-character varying)
(question_title-character varying-not null)
(right_answer-character varying-not null)
or just import the questiontable.csv from extras to questiondb this will add question table with some example data
4. Start postman and import quizapp api testing.postman_collection.json form extras to my Workspace.
5. In postman do CRUD operations, view all questions or questions by category
6. Create a quiz using the qiven parameters in URL of postman (numQ -> Total no of questions needed in the quiz) (quizId will be returned)
7. Start the quiz using the quizid .
8. Submit your answers with quizid in the url and the questionsid and response as the answers in the body (RAW format-JSON) (already template available in postman post method)
9.final result score will be calculated and send to the user in postman (score data is not stored in the db).

Note:-
	lombok is not working so the required sources is already added.
	Postman API file to run operations in quiz is attached in json format.
	PostgreSQL questions table, csv is also available in extras. Just import it in questiondb to create question table.
	any extra needed files are available in extras.

** If there is any issues of queries you can contact me through my linkdin or my website : http://tharuntech.netlify.app

quizapp's People

Contributors

tharunsm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.