Skip to content

fedemelo/MSWA

Repository files navigation

Melanoma Segmentation Web Application

Framework: Next.js UI: MUI Package Manager: Yarn


The Melanoma Segmentation Web Application is a Next.js-based web application designed for doctors to upload dermoscopic images and leverage advanced machine learning models to detect and segment malignant melanoma regions. The frontend communicates with the Melanoma Segmentation API to provide seamless functionality.

Local Setup

This project uses Node.js 20+ and Yarn as the package manager. Ensure these are installed before proceeding.

Dependencies

  1. Clone the repository and navigate to the project directory:

    git clone https://github.com/fedemelo/MSWA
    cd mswa
  2. Install dependencies:

    yarn install

Environment Variables

  1. Create an .env.local file in the root of the project and configure the following environment variable:

    NEXT_PUBLIC_API_BASE_URL=http://localhost:8000/v1.0

    The NEXT_PUBLIC_API_BASE_URL is the base URL of the backend API, MSAPI.

Running the Development Server

  1. Start the development server:

    yarn dev

    The frontend will be running at http://localhost:3000.

Code Quality

Linting and Formatting

The project uses ESLint for linting and Prettier for code formatting. Run the following command to lint and format the code:

yarn lint && yarn format

About

MSWA (Melanoma Segmentation Web Application) is a responsive Next.js-based frontend for uploading dermoscopic images, performing melanoma segmentation with AI models, and managing doctor and patient data seamlessly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors