Skip to content

jmfloreszazo/demo-dotnetcore-clean-architecture

Repository files navigation

Tutorial

Running the App

Execute in Powershell

build.ps1

Run

docker-compose up

If you have any problem try

docker-compose up --force-recreate

Manual testing the App

In Postman you can create these use cases

In the first run, it will be empty

GET http://localhost:5000/api/Greetings

Now you can add a Greetings

POST http://localhost:5000/api/Greetings

Content-Type: application/json

{ "Message" : "Hello World" }

Now you can see that greeting

GET http://localhost:5000/api/Greetings/{xxxx-xxxx-xxxx-xxx}

Now you can add some more greetings

POST http://localhost:5000/api/Greetings

Content-Type: application/json

{ "Message" : "Hello NetCoreConf" }

Now you can see all the greeetings

GET http://localhost:5000/api/Greetings

And now you can delete one greeetings

DELETE http://localhost:5000/api/Greetings/{xxxx-xxxx-xxxx-xxx}

About

Demo of Clean Architecture with .NetCore31

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages