Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

FormCore


.NET + React + Ant Design infrastructure for inheritable dynamic forms




Build Status


Build status


codecov


NuGet


NPM version


NuGet


NPM download


Known Vulnerabilities


Average time to resolve an issue


Percentage of issues still open


Join the chat at https://gitter.im/antd-formcore/Lobby

## 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.