Git Product home page Git Product logo

spe_frontend's Introduction

Self Assessment Test App Frontend

Overview

The Self Assessment Test App Frontend is a web application built using ReactJS, HTML, CSS, Dockerfile. This application allows users to take self-assessment tests for Depression, Anxiety, and ADHD. Upon completing the tests, users receive a score and a report indicating the severity of their condition, which can be emailed to them.

Features

  1. Three Tests Available: Depression, Anxiety, and ADHD
  2. Dynamic Questions: Questions are fetched from the backend using Axios
  3. Score Computation: Scores are calculated based on user responses
  4. Report Generation: Users receive a detailed report indicating their condition severity
  5. Email Report: Users can enter their email to receive their report

Condition Severity Levels

The condition severity is determined based on the percentage of the score. The thresholds for Depression are as follows:

  1. Minimal Depression: 0-20%
  2. Mild Depression: 21-40%
  3. Moderate Depression: 41-60%
  4. Moderately Severe Depression: 61-80%
  5. Severe Depression: 81-100%

Installation

To run the project locally, follow these steps:

1. Clone the repository:

git clone https://github.com/yourusername/self-assessment-test-app-frontend.git
cd self-assessment-test-app-frontend

2. Install the dependencies:

npm install

3. Start the development server:

npm run dev

The application will be available at http://localhost:5173.

Usage

  1. Select a Test: Choose either the Depression, Anxiety, or ADHD test.
  2. Answer Questions: Complete the test by answering all the questions.
  3. View Score and Report: After submitting the test, your score and condition severity will be displayed.
  4. Email Report: Enter your email address to receive the report.

Technology Stack

Frontend: ReactJS, HTML, CSS, Dockerfile

HTTP Client: Axios for fetching questions from the backend

spe_frontend's People

Contributors

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