Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 716 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 716 Bytes

couchbase-example

  1. Install a Couchbase Server. Couchbase server will be running on http://localhost:8091.
  • Create bucket couchbase
  • Create full text index couchbase
  1. Install Node.js

  2. Make a directory, clone this repo, install dependencies, start the application. Run this command to install dependencies

    npm install
  3. Run npm run build to fill couchbase with data from assets.js file

  4. Start the application. From a terminal:

    npm run start

  5. Endpoint available at http://localhost:8080/api/?search=test

  6. The expected response presented in json format:

    {
        "name": "Test",
        "description": "Test"
    }