This project was generated with Angular CLI version 16.1.4.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
The whole app renders based on the data available at /assets/data.json
, The way it is constructed is as follows
data.json
has oneelements
key which holds all the dataelements
is an array of row objects with attributeorder
for ordering of data andelements
for the actual data- Each object of
elements
further hasorder
,type
anddata
attributes,order
for positioning andtype
for type of element
Under the src/app
you would find components which consist of all components, pipes and services folder each holding such classes.
I have used two pipes one for sorting and another for searching,
Apart from that a service which has a utility method.