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)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay