TCDev API Generator
  • 😎Welcome!
  • 🧙Lets get started
  • 1️⃣1⃣ Configuration & Setup
    • 🔧Configuration Options
  • 2️⃣2⃣ Database Options
  • 3️⃣3⃣ Create your first API
  • ⁉️Samples
  • Reference
    • 🔧Configuration Options
    • 🤏API Behaviour
    • 🗃️Customizing Database
    • ❗Additional functionality
    • ⭐Hooks & Events
    • 🔓Authentication
Powered by GitBook
On this page

Was this helpful?

Welcome!

Build your first API in 5 minutes :)

The API Generator automatically generates a fully working CRUD Microservice from just your Model (C# Classes) or a JSON Definition. Everything from routes, database handling, migrations, openapi spec, OData etc is working magically out of the box! You just write your model and get a fully working CRUD api with filtering, sorting, selectable fields and everything else OData and classic REST offers. By using the API Gen, this little snippet is already a full API

 [Api("/people", ApiMethodsToGenerate.All )]
 public class Person : Trackable, 
    IObjectBase<Guid>,
    IBeforeUpdate<Person>, // Before Update Hook
    IBeforeDelete<Person>, // BeforeDelete Hook
 {
    public string Name { get; set; }
    public DateTime Date { get; set; }
    public string Description { get; set; }
    public int Age { get; set; }
    public Guid Id { get; set; }
 }

Currently released version 0.1.5 on Nuget

NextLets get started

Last updated 2 years ago

Was this helpful?

😎
Page cover image