A simple React application built with TypeScript to create a dynamic form with validation based on a configuration array. This project was developed as a challenge during a company's interviewing process.
- Framework: React with TypeScript
- State Management: Redux with redux-toolkit
- UI Components: Material UI
To set up the project locally:
- Clone the repository:
git clone https://github.com/FederalCircle/dynamic-form.git
cd dynamic-form
- Install the necessary packages:
npm install
To start the project, run:
npm start
- Dynamic Form Creation: The form is generated based on a configuration array. Each object in the array represents a field in the form.
- Validation: Form fields are validated based on the rules defined in the configuration array.
- Visualization: The data saved in the Redux store is rendered for visualization.
Currently, the application uses a local configuration array for form generation. However, it's designed to seamlessly integrate with an API to fetch the configuration, if needed.
This project is currently not under any license.