DEV Community

Phil Webb
Phil Webb

Posted on • Edited 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)

👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay