Skip to content

Accusoft/hello-prizmdoc-cells-with-nodejs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hello PrizmDoc Cells with node.js and HTML

A minimal node.js express app which has integrated PrizmDoc Cells.

Setup

Requirements

Configure Connection to PrizmDoc Cells

Configure how to connect to PrizmDoc Cells by editing the config.json5 file (this is just a JSON file with comments).

For PrizmDoc Cloud:

{
  "cellsServerBaseUrl": "https://api.accusoft.com/cells",
  "apiKey": "YOUR_API_KEY"
}

For self-hosted:

{
  "cellsServerBaseUrl": "YOUR_CELLS_SERVER_BASE_URL",
}

Alternately, you can set or override any of these values via environment variables:

  • CELLS_SERVER_BASE_URL
  • API_KEY

Install dependencies

npm install

Running the Sample

To start the app:

npm start

This will launch a small web application on http://localhost:8888.

You should see output like this:

> node index.js

[HPM] Proxy created: /cells-server-proxy/clientControl  ->  https://api.accusoft.com/cells
[HPM] Proxy rewrite rule created: "^/cells-server-proxy" ~> ""
[HPM] Subscribed to http-proxy events:  [ 'error', 'close' ]
Application running at http://localhost:8888

When you visit http://localhost:8888, you should see the contents of an XLSX file inside of an interactive Workbook Control:

About

A minimal node.js express app which has integrated PrizmDoc Cells.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published