Skip to content

REST API template following Domain Driven Design and Clean Architecture using .NET 7

License

Notifications You must be signed in to change notification settings

smh53/TavMobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TavMobile - REST API template following Domain Driven Design and Clean Architecture.

Star pls ⭐!

Liked it? Hit that star button

Overview

Creating and Reading operations on Sections aggregate.

Usage

git clone https://github.com/smh53/TavMobile && dotnet run --project .\src\WebApi in the folder that has TavMobile.sln

API Definition

Create Section

Create Section Request

POST /section
{
    "name": "Android",
    "description": "Phones that have Android OS",
    "no": "101",
}

Create Section Response

200 OK
{
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "Android",
    "description": "Phones that have Android OS",
    "no": "101",
}

Get All Section

Get All Section Request

GET /section

Get All Section Response

200 Ok
{
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "Android",
    "description": "Phones that have Android OS",
    "no": "101",

    "id": "00000000-0000-0000-0000-000000000001",
    "name": "IOS",
    "description": "Phones that have IOS OS",
    "no": "202",
    
}

Disclaimer

This project is created for educational purposes. The source code is licensed under the MIT license.

License

This project is licensed under the terms of the MIT license.

Releases

No releases published

Packages

No packages published

Languages