https://github.com/kei-k23/csharp-todo-api
Todo CRUD API that build with C# .Net core WebAPI
https://github.com/kei-k23/csharp-todo-api
api csharp dotnet-core mssqlserver webapi
Last synced: 5 months ago
JSON representation
Todo CRUD API that build with C# .Net core WebAPI
- Host: GitHub
- URL: https://github.com/kei-k23/csharp-todo-api
- Owner: Kei-K23
- Created: 2024-07-05T03:45:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-07T17:26:28.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T07:31:53.076Z (over 1 year ago)
- Topics: api, csharp, dotnet-core, mssqlserver, webapi
- Language: C#
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSharp Todo API
Todo CRUD API that build with C# ASP.Net core WebAPI
## Tech stack
- C#
- ASP.Net core
- SQL Server
## API documentation
### Base URL
`/api/todo`
### Endpoints
- Create a Todo
**Endpoint**: `POST /api/todo`
**Description**: Creates a new todo item.
- Get All Todos
**Endpoint**: `GET /api/todo`
**Description**: Retrieves all todo items.
- Get Todo by ID
**Endpoint**: `GET /api/todo/{id:guid}`
**Description**: Retrieves a specific todo item by its ID.
- Update Todo
**Endpoint**: `PUT /api/todo/{id:guid}`
**Description**: Updates a specific todo item by its ID.
- Delete Todo
**Endpoint**: `DELETE /api/todo/{id:guid}`
**Description**: Deletes a specific todo item by its ID.