Source for rego.fyi as a single AWS CDK stack.
- NodeJS 18 (get it)
- Go 1.20.3 (get it)
- OPA (get it or via homebrew)
npm install
do this firstnpm run lint
check your stylenpm test
run all testsnpm run test:opa
run opa tests onlynpm run test:go
run the go testsnpm run test:ts
run all the TypeScript tests with jestnpm start
run the UI on localhostnpx cdk bootstrap
prepare your environmentnpm run deploy
build and deploy your appnpm run destroy
destroy the stacknpm run synth
synthesize the CloudFormation templatenpm run diff
diff your deployed stack