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)

Heroku

Tired of jumping between terminals, dashboards, and code?

Check out this demo showcasing how tools like Cursor can connect to Heroku through the MCP, letting you trigger actions like deployments, scaling, or provisioning—all without leaving your editor.

Learn More

👋 Kindness is contagious

Explore this insightful write-up embraced by the inclusive DEV Community. Tech enthusiasts of all skill levels can contribute insights and expand our shared knowledge.

Spreading a simple "thank you" uplifts creators—let them know your thoughts in the discussion below!

At DEV, collaborative learning fuels growth and forges stronger connections. If this piece resonated with you, a brief note of thanks goes a long way.

Okay