Code Monkey home page Code Monkey logo

ass-02's Introduction

Dynamic Assessment App

Welcome to the Assessment App! This application allows users to take a quiz with questions of varying difficulty levels.

Table of Contents

Features

  • Fetches questions from an API and shuffles them for a randomized quiz experience.
  • Dynamically adjusts difficulty levels based on user performance.
  • Calculates and displays the user's quiz score.
  • Sends quiz results to a server for storage.
  • Responsive design for various screen sizes.

Getting Started

Prerequisites

Make sure you have Node.js and npm installed on your machine.

Installation

Front-End

  1. Clone the repository:

    git clone https://github.com/your-username/react-quiz-app.git
    
    
  2. Navigate to the Front-End Directory

    cd Front-end
  3. Install the required packages:

     npm install
  4. Start the application:

    npm run dev

Back-End

  1. In The Root Directory

    mvn spring-boot:run

This will start the backend server on port 8080 and the front-end server on port 3000.

API Reference

  1. /api/users

    • GET: Get all users
  2. /api/auth/login

    • POST: Login user
  3. /api/questions

    • GET: Get all questions
  4. /api/quiz-results -POST: /save - Save quiz result -GET: /all - Get quiz results of all the users

  5. /upload -POST: Extract question from a excel .xlsx file and save it to the database

Since the project is in development, application.properties file is included in the repository. The PostgresSQL database is hosted on Render and the credentials are included in the application.properties file.

Usage

  1. Go to /login and login with the following credentials:

    • Username: test
    • Password: root
  2. Take the quiz and see the results in the Results.

  3. To upload a new set of questions, go to Upload tab and upload the .xlsx file.

  4. To see all the question in the database, go to the questions tab.

ass-02's People

Contributors

gourav2609 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.