Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmq20/formcore
.NET + React + Ant Design infrastructure for inheritable dynamic forms
https://github.com/pmq20/formcore
antd c-sharp dynamic-form dynamic-forms form form-validation forms inheritance react
Last synced: 2 months ago
JSON representation
.NET + React + Ant Design infrastructure for inheritable dynamic forms
- Host: GitHub
- URL: https://github.com/pmq20/formcore
- Owner: pmq20
- License: mit
- Created: 2018-06-11T10:04:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:26:30.000Z (about 2 years ago)
- Last Synced: 2024-11-13T04:52:19.627Z (2 months ago)
- Topics: antd, c-sharp, dynamic-form, dynamic-forms, form, form-validation, forms, inheritance, react
- Language: JavaScript
- Homepage:
- Size: 552 KB
- Stars: 12
- Watchers: 7
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
FormCore
.NET + React + Ant Design infrastructure for inheritable dynamic forms
## Features
* Front-end and back-end are separated, exposing a fine set of form-related API;
* Forms are inheritable, so that the end user does not need to build every form from scratch;
* Multiple inheritance is supported, meaning that one form can inherit from multiple parent forms;
* Input styles of form fields are extendable so that you can design your own input box for front-end rendering;
* Supports built-in fields and custom fields simultaneously, similarly built-in and custom options of select input-box are both supported too.## Usage
### Backend
PM> Install-Package FormCore
Let your Entity Framework Context class inherit from `FormCore.Context`. E.g.,
public class Context : FormCore.Context {}
Then add migrations.
PM> add-migration
Revise the migration file that was automatically generated, removing foreign key constraints.
Finally apply the migration against your database,
PM> update-database
### Frontend
npm install --save antd-formcore
## Contributing
Please use [EditorConfig](http://editorconfig.org/#download) to format your codes.
## Team
| [![Minqi Pan](https://github.com/pmq20.png?size=100)](https://github.com/pmq20) | [![Xiang Yan](https://github.com/debbbbie.png?size=100)](https://github.com/debbbbie) | [![Chenhui Yu](https://github.com/Yuchenhui.png?size=100)](https://github.com/Yuchenhui) |
|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| [Minqi Pan](https://github.com/pmq20) | [Xiang Yan](https://github.com/debbbbie) | [Chenhui Yu](https://github.com/Yuchenhui) |## License
MIT
## See Also
- [.NET](https://github.com/Microsoft/dotnet): a software framework developed by Microsoft.
- [React](https://github.com/facebook/react/): a declarative, efficient, and flexible JavaScript library for building user interfaces.
- [Ant Design](https://github.com/ant-design/ant-design/): a UI Design Language.