Giter Club home page Giter Club logo

doctor's Introduction

Doctor

Build Status Codacy Badge SonarQube Test Coverage SonarQube Tech Debt Heroku Deployment Docker Automated Build

The Doctor API returns NHS Choices pages from a search such as "What are the symptoms of dystonia?". The API can also be queried through the Swagger UI or a little embedded UI.

Heroku setup

This will provision the Doctor application and a Bonsai Elasticsearch cluster on Heroku. This has been done already for the ml-doctor application.

Note: due to free dynos and addons limitations, a subset of NHS Choices conditions is indexed on Heroku. For all the conditions, run Doctor locally with Docker as described below.

heroku create ml-doctor
heroku addons:create bonsai:sandbox-10
git push heroku master
open https://ml-doctor.herokuapp.com
open https://ml-doctor.herokuapp.com/swagger-ui.html

Local setup

This will run both the Doctor application and a standalone Elasticsearch instance locally. You may need to increase the amount of memory allocated to Docker to 4GB+ as Elasticsearch is quite demanding and JVMs usually default to ~25% of the total available memory offered.

gradle build
docker-compose up
open http://localhost:8080
open http://localhost:8080/swagger-ui.html

## Code Quality and Continuous Delivery

  • Travis CI
  • SonarQube with PMD and Checkstyle rules and Jacoco test coverage
  • Automated deployment
  • DockerHub integration

## Possible improvements

  • Distributed crawl and real-time update/index (Spark, actors, queues...)
  • Semantic search (knowledge graph, word2vec, deep learning approaches...)
  • Boosted search fields (title...)
  • Integration tests
  • Proper UI
  • Many things

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.