C# clean minimal api where to add the features?

283 views Asked by At

iam looking into the clean minimal api from Nick Chapsas => https://github.com/Elfocrash/clean-minimal-api.

I find this structure very cool and i want to use this as a boilerplate for my next project.

But he has only implemented Customers. I want this API stuct with more than only Customers something like Games, Consoles, Users. What is the correct struct to implement this?

What i have to put in the Feature folder?

What is the struct with more than one feature?

I need a clean struct.

Maybe you know what i mean or maybe you can give me a better .net7 boilerplate?

Thank you!

What about this?

Asking for structure

1

There are 1 answers

0
Dimitar Neykov On

In the project you sent, there is no folder named Feature and it is well structured for a small project, but if you want to develop it into a larger one in the future, you will have to export the models, services, data provider and etc.