WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

teeravee/api

Repository files navigation

Siam Outlet - Intelligent Fulfillment Platform

Migrations

To run migration, start in the .\ifp folder.

Add migration:

dotnet ef migrations add "Initialized" --context ApplicationDbContext --project .\src\Infrastructure\ --startup-project .\src\PublicAPI\ --output-dir .\Data\Migrations --verbose

Update database:

dotnet ef database update --context ApplicationDbContext --project .\src\Infrastructure\ --startup-project .\src\PublicAPI\ --verbose

.NET Aspire

Add PublicAPI to reference the Aspire.ServiceDefaults. Add Aspire.AppHost to reference the PublicAPI.

Code Styles & Formatting

The template includes EditorConfig support to help maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The .editorconfig file defines the coding styles applicable to this solution.

Code Scaffolding

The template includes support to scaffold new commands and queries.

Start in the .\src\Application\ folder.

Create a new command:

dotnet new ca-usecase --name CreateTodoList --feature-name TodoLists --usecase-type command --return-type int

Create a new query:

dotnet new ca-usecase -n GetTodos -fn TodoLists -ut query -rt TodosVm

If you encounter the error "No templates or subcommands found matching: 'ca-usecase'.", install the template and try again:

dotnet new install Clean.Architecture.Solution.Template::8.0.5

Test

The solution contains unit, integration, and functional tests.

To run the tests:

dotnet test

Help

To learn more about the template go to the project website. Here you can find additional guidance, request new features, report a bug, and discuss the template with other users.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •