This app is a tool for authoring and testing/simulating rules for SDPR's Business Rules Engine. It is a Next.js project that makes use of a custom fork of the GoRules JDM Editor (located at https://github.com/bcgov/jdm-editor). You can read more about working with our custom JDM Editor fork here.
This project current depends on the API provided by the brm-backend project. You'll have to set an environment variable of NEXT_PUBLIC_SERVER_URL
pointing to the URL of that when it is up and running (like http://localhost:3000
).
This project also depends on the API provided by the klamm project. You'll have to set an environment variable of NEXT_PUBLIC_KLAMM_URL
pointing to the url and endpoint for the business rules set of information (like http://localhost/bre
).
Install dependencies:
npm install
Run the development server:
npm run dev
Open http://localhost:8080 with your browser.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright 2024 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.