JSON Forms Angular Seed
JSONForms Angular Seed.
npm ci to install the necessary dependencies.
npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
npm build to build the project. The build artifacts will be stored in the
dist directory. Use the
--configuration production flag for a production build.
Running unit tests
npm test to execute the unit tests via Karma.
Running end-to-end tests
npm e2e to execute the end-to-end tests via Protractor.
For this showcase we hardcoded the schemas (
uischema.json) and the data (
data.ts). You can replace them with your own or handle them completely dynamically.
We implemented three custom controls (
data.control.ts). If you don't need them just remove them! See also
store.ts where these custom renderers are registered.
app.component.ts we customized the validation. This step is optional and can be skipped if needed.