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.
- Three Tests Available: Depression, Anxiety, and ADHD
- Dynamic Questions: Questions are fetched from the backend using Axios
- Score Computation: Scores are calculated based on user responses
- Report Generation: Users receive a detailed report indicating their condition severity
- Email Report: Users can enter their email to receive their report
The condition severity is determined based on the percentage of the score. The thresholds for Depression are as follows:
- Minimal Depression: 0-20%
- Mild Depression: 21-40%
- Moderate Depression: 41-60%
- Moderately Severe Depression: 61-80%
- Severe Depression: 81-100%
To run the project locally, follow these steps:
git clone https://github.com/yourusername/self-assessment-test-app-frontend.git
cd self-assessment-test-app-frontend
npm install
npm run dev
The application will be available at http://localhost:5173.
- Select a Test: Choose either the Depression, Anxiety, or ADHD test.
- Answer Questions: Complete the test by answering all the questions.
- View Score and Report: After submitting the test, your score and condition severity will be displayed.
- Email Report: Enter your email address to receive the report.
Frontend: ReactJS, HTML, CSS, Dockerfile
HTTP Client: Axios for fetching questions from the backend