DEV Community

Phil Webb
Phil Webb

Posted on

Code Generation from a Domain Model

I have been working on a code generation framework taking as input a mermaid static class model and outputting a full stack application. So far, I have code that outputs:

  1. DB creation for SQL and SQLite
  2. A C# webapi and express CRUD api
  3. A svelte UI to consume api

The generator is built in typescript and the static class model uses mermaid.

I am planning to add a generated angular UI.

Is there any interest in this - leave a comment if you think it is worth my adding further information. I've had a poke around and can't find any similar projects.

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay