Skip to content

Chacaroon/AutoForms

Repository files navigation

AutoForms

NuGet Build AutoForms npm Build AutoForms.Client codecov

AutoForms is a system of libraries designed to synchronize a data structure between parts of a web application based on ASP.NET 6 and Angular.

Setup AutoForms for ASP.NET

Install NuGet package

In order to get AutoForms for ASP.NET, you can grab the latest NuGet package or just run

Install-Package AutoForms

Register dependencies to IoC container

Register FormBuilderFactory and other dependencies.

public void ConfigureServices(IServiceCollection services)
{
    services.AddAutoForms();
	services.AddValidationProcessor();
}

Setup AutoForms for Angular

Install AutoForms client library

Install @auto-forms/client using NPM.

npm install @auto-forms/client

Import AutoFormsModule to AppModule

Add the AutoFormsModule to the AppModule, so you'll be able to inject FormBuilderCllient.

import { AutoFormsModule } from '@auto-forms/client';

@NgModule({
    declarations: [AppComponent],
    imports: [AutoFormsModule.forRoot()],
    bootstrap: [AppComponent]
})
export class AppModule {}

Get Started

To start working with AutoForms, check out the getting started guide.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published