Giter Club home page Giter Club logo

health-nlp-node's Introduction

Build Status Coverage Status Dependency Status devDependency Status

health-nlp-node

This repository contains the nodeJS/express based web server of the health-nlp project.

The health-nlp project is an NLP (Natural Language Processing) demo composed by the following repositories:

  • health-nlp-react: frontend part. It displays the results of the analysis (stored in firebase) and explains everything about the project. It is a react + redux based web application.
  • health-nlp-node: nodeJS/express backend for the health-nlp-angular frontend. It takes new job requests and sends them to the beanstalkd job queue.
  • health-nlp-analysis (this repository): it processes jobs from beanstalkd and sends the results to firebase. It is a Python project.

This project is still on an early stage of development. As soon as there's an online demo available, you'll find a link here.

Get this thing running

This project contains a nodeJS/Express app that gets jobs via a REST API and inserts them into a beanstalkd queue.

Beanstalkd and the analyzer

This project depends on beanstalkd and the health-nlp-analyzer. You can find more information about how to set up your environment and run such services on the health-nlp-analysis's readme.

By default, we're using port 11300, IP 127.0.0.1 and the default pipe on beanstalkd. You can change this in the .env file.

NPM Dependencies

In order to install the dependencies, you can simply type npm install.

Configuration

Rename the example.env file into .env and modify the default values according to your system configuration.

Run it!

Once beanstalkd is running on your machine and the configuration is ready, you can type npm start to start the web server.

Unit Tests and Coverage

You can run the tests by typing this on the console:

npm test

And you can generate the coverage report with:

npm run coverage

Docker

If you want to deploy this service inside Docker containers, you will find the docker-compose.yml file on the root directory of this repository.

health-nlp-node's People

Stargazers

 avatar

Watchers

 avatar  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.