.NET CRUD generator library with Bootstrap support to create dynamic forms at runtime from a data dictionary.
JJMasterData is an open-source .NET library to help you create dynamic CRUDs quickly from data dictionaries (database metadata), along with other boilerplate-intensive things like exporting and importing data.
https://github.com/JJConsulting/JJMasterData/assets/28662273/9b874c9d-2a2f-4d3b-9e78-846db446def2
JJMasterData.Web
dotnet add package JJMasterData.Web
IConfiguration
source with a connection string at JJMasterData:ConnectionString
and a secret key at JJMasterData:SecretKey
{
"JJMasterData": {
"DataDictionaryTableName": "MasterData",
"ConnectionString": "Server=localhost;Database=JJMasterData;Integrated Security=True;Trust Server Certificate=true",
"ReadProcedurePattern": "{tablename}Get",
"WriteProcedurePattern": "{tablename}Set",
"SecretKey": "ExampleSecretKey"
}
}
Program.cs
add the following lines:using JJMasterData.Web.Configuration;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddJJMasterDataWeb();
///...
var app = builder.Build();
///...
app.UseJJMasterDataWeb();
app.MapJJMasterData();
app.Run();
wwwroot
folder if your project is empty/en-US/DataDictionary/Element/Index
You can get the appsettings.json schema URL from here
See all steps in documentation.
Install .NET 8
Install NodeJS
Clone this git repository
Open JJMasterData.sln
file at your IDE
Set the WebEntryPoint
as startup project
At src/Web
run at your terminal
npm i
Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.