This MFE sample shows a simplified Domain Driven Design approach to building applications.
App.Domain
- contains all of the Domain objects - Domain Aggregates and Commands, has no refereces to any specific data storeApp.Infrastructure
- contains Queries that represent projections of Domain objects, implements repositoriesApp.Website
- the primary website acting as a BFF for a React application, using a GraphQL backend
In VSCode, run the website
debug task. Otherwise:
cd ./src/App.Website
dotnet run
cd ./src/App.Website/frontend
npm start
Browse to https://localhost:1234
.
Browse to /graphql/playground
to try out GraphQL queries.