Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cerbos/getting-started-node
https://www.youtube.com/watch?v=caqUh6i3vVQ
https://github.com/cerbos/getting-started-node
Last synced: 6 days ago
JSON representation
https://www.youtube.com/watch?v=caqUh6i3vVQ
- Host: GitHub
- URL: https://github.com/cerbos/getting-started-node
- Owner: cerbos
- License: apache-2.0
- Created: 2021-11-16T15:36:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T03:47:39.000Z (26 days ago)
- Last Synced: 2024-12-20T07:44:06.163Z (14 days ago)
- Language: JavaScript
- Homepage: https://www.youtube.com/watch?v=caqUh6i3vVQ
- Size: 1.13 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting Started - Node.js
An example application of integrating [Cerbos](https://cerbos.dev) with an [Express](https://expressjs.com/) server.
- [Try online with the Cerbos playground](https://play.cerbos.dev)
- [Explore demo repositories](https://github.com/cerbos)
- [Read the documentation](https://docs.cerbos.dev)
- [Subscribe to our newsletter](https://cerbos.dev/subscribe)
- [Join the community on Slack](http://go.cerbos.io/slack)## Dependencies
- Node.js
- Docker for running the [Cerbos Policy Decision Point (PDP)](https://docs.cerbos.dev/cerbos/latest/installation/container.html)## Getting Started
1. Start up the Cerbos PDP instance docker container. This will be called by the express app to check authorization.
```bash
cd cerbos
./start.sh
```2. Install node dependencies
```bash
npm install
```3. Start the express server
```bash
npm run start
```