forms.jsonneeds to be placed in
src/assets/config. This file defines the schema for various forms used, along with the fields for each. The form rendering is based on the formly.dev library, and the forms.json is a small wrapper on top of the formly schema.
formsis an array with key/value pairs. They key is the code / slug of the form which is used to access the form. Eg: if the key for a form is
employee-signupthat form can be accessed via
/forms/employee-signup. Each form definition will have the below fields -
layouts.jsonis used to define how the public and private profile pages look like. For each entity in Sunbird backend, a layout file should be defined with the fields and the order in which they should display.
layoutsis an array with key/value pairs. They key is the code / slug of the layout page which is used to access the form. Eg: if the key for a layout is
employee-profilethat page can be accessed via
/profile/employee-profile. Each layout definition will have the below fields -
ng serve --proxy-config proxy.conf.json. For additional configuration please check