Coder Social home page Coder Social logo

lehoangtran289 / me2diag Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29.46 MB

A Decision Support System using Hedge Algebra and Picture Fuzzy Sets to Medical Diagnosis

Home Page: https://client.hngtrl.app

License: MIT License

Jupyter Notebook 14.66% Dockerfile 0.07% Python 0.03% Shell 0.01% Java 14.39% CSS 1.33% HTML 0.14% JavaScript 50.33% SCSS 19.05%

me2diag's Introduction

Me2diag - a decision support system for medical diagnoses

Reference research paper

https://doi.org/10.1007/s40815-023-01548-4

How to contribute?

Please read our CONTRIBUTING document.

Build

Use this directions if you want to build the source on your machine If you just want to run the system, see "Run the code"

Note: you should initiate .env file in order to build.

Setup backend:

Prerequisite: openjdk-11 and maven

# start MariaDB, Minio storage, Python Flask model.
docker-compose up -f docker-compose.local.yml

cd backend/
mvn spring-boot:run

Setup frontend:

Prerequisite: nodejs and npm installed.

1. Set up local developing environment (VSCode, ...)

cd frontend/

# install dependencies (run once)
# Note: should not try to resolve any vulnerabilities
npm i

In case you do not use docker, run this command to start frontend server (port 3000)
Then open http://localhost:3000 to view it in the browser. You should first register an account in database :D

# start frontend (in case you do not use docker)
npm run start

2. Set up docker enviroment for developing

cd frontend/

# start frontend server (port 3000)
docker-compose up

Run the code

# Init empty .env in backend classpath
touch backend/.env && touch backend/src/main/resources/.env

# Build with docker compose 
docker-compose -f docker-compose.prod.yml up --build

FAQ

How to run command inside Docker container

docker-compose -f docker-compose.[ENV].yml exec [COMMAND]

Enable Docker Buildkit on your machine

Some old versions of Docker may require setting enviroment variable DOCKER_BUILDKIT to 1.

DOCKER_BUILDKIT=1 docker-compose build

me2diag's People

Contributors

lehoangtran289 avatar dependabot[bot] 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.