IanMinash / vue-symptom-checker-example

Symptom checker example written in Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue Symptom Checker Example

This is an example of symptom checker app based on Vue framework. Base web app was created with vue-cli, which is built on top of webpack. App uses Infermedica API supported by Artificial Intelligence to perform symptom analysis.

We created it to provide you with an insight on how to work with the Infermedica API, and how to implement such an appliaction on your own. Provided application resembles a primary care interview with a doctor and provides you with information about most likely conditions.

The most recent Infermedica API documentation is always available on our developer portal.

Do not hesitate to contact us if you need any further help.

Dependecies

Before proceeding to next steps, please make sure that you have node installed in your system. Please refer to the docs to find out the most suitable way depending on your OS.

The project uses npm as dependency manager. If you have installed node npm is a part of node.

Next steps assume that you have node and npm installed.

Getting started

First of all you have to obtain your own app-id and app-key from developer portal. You will need to paste these into right fields inside the application.

Running app as docker image

Start with building your docker image by running below command in local root folder of your application docker build -t vue-symptom-checker-example .

After image is successfully created, run the docker image with command docker run -p 8080:80 vue-symptom-checker-example

Installing further dependencies with npm

Please go to the root directory of and type in terminal npm install

Running the app in development mode

npm start

Preparing a production-ready build

npm run build

Lints and fixes files

npm run lint

About

Symptom checker example written in Vue.js


Languages

Language:Vue 64.6%Language:JavaScript 29.2%Language:CSS 5.0%Language:HTML 0.8%Language:Dockerfile 0.4%