Skip to content

Gwarion/WebApiCore

Repository files navigation

About this repo

This is a proof of concept for a .NET 10 Api using

Architecture

  • CQRS
  • DDD and Hexagonal Architecture : "Plug and Play" Driven Adapters are loaded at runtime from config, through reflection
  • BDD
  • Kafka Event production
  • Out of the box from a docker container

FrameWorks and Tools

  • Mediatr, AutoMapper, Reqnroll (xUnit)
  • A Background Service to dispatch asynchronous commands
  • Middleware implementation
  • Api Versionning
  • Open Api documentation

To Start the WebApi

Install Docker

Run Docker (from VS)

  • Set docker-compose as startup project
  • Build the solution and run docker-compose
  • Wait docker to download the images
  • API is running on localhost:55000
  • Kafka (lenses.io) is running on localhost:3030 (you can observe ConsumerCreated and ConsumerUpdated events in the Consumer topic after executing the related request)
  • SQL Server is running on localhost, 1433 - logins are set in the docker-compose.yml file. It uses the default System Database "master"

To send a request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages