Skip to content

TheYangYang/sandbox-dotnet-backend

Repository files navigation

Sandbox .NET Backend

This is a sandbox backend project built with .NET Web API following a clean, modular architecture:

  • Api – Web API entry point (controllers / endpoints)
  • Application – Business logic, interfaces, CQRS, validation
  • Domain – Entities, enums, value objects
  • Persistence – EF Core, database access, DbContext
  • Infrastructure – External integrations (email, queue, cache, etc.)

This project is designed as a template to quickly bootstrap a new backend using a clean-layered architecture.


📂 Project Structure

sandbox-dotnet-backend/ │── Sandbox.sln │── Api/ # Web API host project │── Application/ # Business logic + interfaces │── Domain/ # Entities, models, core types │── Persistence/ # EF Core DbContext + migrations └── Infrastructure/ # External services (email, files, queues...)


🚀 Getting Started

1. Restore dependencies

dotnet restore

2. Enable hot reload api

dotnet watch run

3. Use docker

docker build -t sandbox-backend-dev -f Dockerfile.dev .
docker run -p 8000:8000 -v ${PWD}:/app -v /app/bin -v /app/obj --name sandbox-backend sandbox-backend-dev

About

This repository contains the **.NET 10 Web API** backend for the Sandbox project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors