An open API service indexing awesome lists of open source software.

https://github.com/arijitcodes/demo-api-netcore-zeer

A Demo Todo List API with C#, .NET Core, AWS-SDK & DynamoDB [.NET Core] [Zeer]
https://github.com/arijitcodes/demo-api-netcore-zeer

aws-sdk csharp dotnet-core dotnetcore dynamodb rest-api todolist

Last synced: 12 months ago
JSON representation

A Demo Todo List API with C#, .NET Core, AWS-SDK & DynamoDB [.NET Core] [Zeer]

Awesome Lists containing this project

README

          

# Demo api with C#, .NET Core, AWS SDK & DynamoDB (Local)


`Author:` Arijit Banerjee

`Technologies Used:` C#, .NET Core, AWS-SDK, DynamoDB


## Instruction:

#### To setup this API, follow the instructions carefully:

1. Clone the Repo.
2. Open a terminal and redirect in the `demo-api-zeer` directory.
3. Setup your DynamoDB Access details in the 'Configs/DynamoDBConfigManager.cs'.
4. Run `dotnet run` in Terminal.
5. Now you can use the api accordingly.

NOTE: If `Step 4` doesn't work due to missing packages, then you have to restore using PM. You can try the following command: `dotnet restore` and then can try `dotnet run` again.


## API Routes:

GET - `/welcome` : Welcome Route


GET - `/api/todos` : Get all Todos

GET - `/api/todos/{id}` : Get One Todo by ID

POST - `/api/todos` : Create a New Todo

PUT - `/api/todos/{id}` : Update a Todo

PATCH - `/api/todos/{id}` : Update/Alter the 'Completed' Status of a Todo

DELETE - `/api/todos/{id}` : Delete a Todo