Author:
Arijit Banerjee
Technologies Used:
C#, .NET Core, AWS-SDK, DynamoDB
- Clone the Repo.
- Open a terminal and redirect in the
demo-api-zeer
directory. - Setup your DynamoDB Access details in the 'Configs/DynamoDBConfigManager.cs'.
- Run
dotnet run
in Terminal. - 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.
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