Skip to content

brian3814/cedar-nodejs-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cedar policy as server proxied with Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors