/FormCore

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

Primary LanguageC#MIT LicenseMIT

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 to format your codes.

Team

Minqi Pan Xiang Yan
Minqi Pan Xiang Yan

License

MIT

See Also

  • .NET: a software framework developed by Microsoft.
  • React: a declarative, efficient, and flexible JavaScript library for building user interfaces.
  • Ant Design: a UI Design Language.