Home

Awesome

modernstore project

A store application uses modern technologies such as Dapr, OSM, Tye...

Get starting

dotnet --version 5.0.100-rc.1.20452.10

tye --version 0.5.0-alpha.20468.1+3402fbddeea6a31310c181b48a6281f84865aabc

dapr --version CLI version: 0.10.0 Runtime version: 0.10.0

osm version Version: v0.3.0; Commit: c91c782; Date: 2020-08-12-21:49

Step 1:

$ tye run

Step 2:

Go to http://localhost:8000 to find the appropriate port for production-service

Step 3:

Then we can use restclient.http to test the application. Happy hacking!

Clean Domain-driven Architecture

Rest Client

Edit and add content to settings.json file:

"rest-client.environmentVariables": {
  "$shared": {
    "contentType": "application/json",
    "idphost": "http://<identity-service>:<port>",
    "host": "http://<app-gateway>:<port>",
  }
}

Database schema

The database schema is inspired from sqlservertutorial project at https://www.sqlservertutorial.net/sql-server-sample-database/

References