Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/howdyankit/jsonform
https://github.com/howdyankit/jsonform
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/howdyankit/jsonform
- Owner: howdyAnkit
- Created: 2022-12-09T13:10:00.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:45:03.000Z (11 months ago)
- Last Synced: 2023-12-15T06:48:58.925Z (11 months ago)
- Language: TypeScript
- Size: 768 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON Forms Angular Seed
JSONForms Angular Seed.
## Installation
Run `npm ci` to install the necessary dependencies.
## Development server
Run `npm start` for a dev server. Navigate to [http://localhost:4200/](http://localhost:4200/). The app will automatically reload if you change any of the source files.
## Build
Run `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
Run `npm test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `npm e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Customizations
For this showcase we hardcoded the schemas (`schema.json`, `uischema.json`) and the data (`data.ts`). You can replace them with your own or handle them completely dynamically.
We implemented three custom controls (`custom.autocomplete.ts`, `lang.control.ts` and `data.control.ts`). If you don't need them just remove them! See also `store.ts` where these custom renderers are registered.
In `app.component.ts` we customized the validation. This step is optional and can be skipped if needed.