Skip to content

yowainwright/rego-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rego Learning

This repository contains basic rego, a JSON superset language, examples based on Open Policy Agent (OPA) documentation.


Setup

Setup the repository by running the setup script

./bin/setup.sh

Execute the tests by running the test script

./bin/run_tests.sh

When committing tests will be run. This package was built with the VSCode Opa extension.


Directory Structure

  • /bin: contains bash scripts for repository setup and testing
  • /policy: is the most simple policy example
  • /rest: is a REST API example
  • /rest_detailed: is a REST API example with tests

About

Rego Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors