Dementia Detection Frontend


Description

This project is a frontend application for the Dementia Detection Model, aimed at predicting dementia disease in patients using AI technology. The application allows users to input data for patients and doctors and provides predictions on whether the patient has dementia. It utilizes React with Vite for fast development, Tailwind CSS for styling, Context API for state management, TypeScript for type safety, and Axios for fetching data from the backend.


Installation

  1. Clone the repository:
git clone https://github.com/AristideI/dimentia-detection-model-fn.git
cd dementia-detection-frontend
  1. Install Dependencies
npm install
  1. Run the development server
npm run dev

Scripts

dev:

Starts the development server using Vite.

build:

Builds the project for production after type-checking with TypeScript.

lint:

Runs ESLint to lint TypeScript and TypeScript React files.

preview:

Preview the production build locally.

Technologies Used

  1. React
  2. Vite
  3. Tailwind CSS
  4. Context API
  5. TypeScript
  6. Axios