ardalis / modulith

Modulith is a dotnet new template for Modular Monoliths. It streamlines the creation of new .Net solutions and the addition of modules to existing ones.
MIT License
82 stars 7 forks source link

Brainstorm `item` templates useful once the solutions and projects have been created #4

Open david-acm opened 4 months ago

ardalis commented 3 months ago

I'd like to be able to quickly add a new entity with associated CRUD endpoints

So, the template would add:

See: https://github.com/ardalis/CleanArchitecture/tree/main/src/Clean.Architecture.Web/Contributors

Command might look like this: dotnet new modulith --add ddd-entity-with-endpoints --with-name Country --to Project (either specify project if at solution level or be in the project folder and it will drop in there)

ardalis commented 3 months ago

Would be good to have options for:

ardalis commented 3 months ago

Would be good for my CA template to have an add entity option like this as well.