Ninjadog uses a powerful template engine to generate your entire API stack from a single JSON config. No runtime reflection, no manual wiring, no files to keep in sync.
{ "entities": { "Product": { "properties": { "Id": { "type": "Guid", "isKey": true }, "Name": { "type": "string" }, "Price": { "type": "decimal" } } } } }
Stop hand-rolling boilerplate. Annotate your entity and let the compiler do the heavy lifting.
Each entity defined in ninjadog.json produces a complete, production-ready API layer.
Annotate your class, run dotnet build, and your full CRUD API is ready.
# Initialize a new project $ ninjadog init Ninjadog settings file created successfully. # Generate the API $ ninjadog build Build succeeded. 33 files generated for Product # Run the API $ cd src/applications/MyApi && dotnet run Now listening on: https://localhost:5001
:guid for Guid,
:int for int,
and untyped for string.
Get started in under 2 minutes. One config, one command, full API.