Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 757 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 757 Bytes

cedar-nodejs-wrapper

This is a node.js-based wrapper around cedar-agent to expose cedar functions through REST API.

How to use

Before starting, make sure that Rust and Cargo are installed. If not installed, visit the official Rust installation page to install.

Of course, Node.js must be installed as well.

After all prerequisites have been installed, execut below commands to start up the server.

npm install
node src/index.js

You may assign specific ports for the wrapped-up cedar server and node server through cmd arguments.

node install
node src/index.js --nodeport 3002 --cedarport 3003