Skip to content

Sample UI for querying similar documents using Watson Explorer APIs

Notifications You must be signed in to change notification settings

nhayashida/wex-qdoc-ui

Repository files navigation

Start node server

(Optoin 1). Run app from console

  1. Copy .env.sample as .env and edit the environment variables in the file

  2. Build

npm install
npm run build
  1. Run
npm run start

(Optoin 2). Run app using Docker

  1. Copy .env.sample as .env and edit the environment variables in the file

  2. Build a Docker image

docker build -f Dockerfile -t wex-qdoc-ui:latest .
  1. Run
docker run -it -p 3000:3000 wex-qdoc-ui:latest

(Option 3). Run app from Visual Studio Code

  1. Open your local repository with Visual Studio Code
  2. Copy .env.sample as .env and edit the environment variables in the file
  3. Select Debug -> Start Debugging

Play with app

  1. Open http://localhost:3000/wex
  2. Open the settings and select a collection and fields
  3. Input a query, then click search

About

Sample UI for querying similar documents using Watson Explorer APIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages