This is the Web Api for adding, deleting, updating and retrieving Tasks.
This channel service is available at the following endpoints:
- At localhost: http://localhost:9090/Tasks
- Development Environment: https://task-manager-api.fsd-capsule-dev.com/Tasks
- Swagger UI: https://task-manager-api.fsd-capsule-dev.com/swagger/
- Swagger Document: https://task-manager-api.fsd-capsule-dev.com/swagger/v1/swagger.json
List of technologies used in this service are:
- .Net Core
- ASP.Net Core
- Entity Framework
- XUnit
- NuGet
At the root of the project run
dotnet restore
At the root of the project run
dotnet build
At the root of the project run
dotnet test
From the build output location (Debug or Release folder), run
dotnet Fsd.Capsule.TaskManagerApi.dll
Or create the docker image and run the image
GET https://task-manager-api.fsd-capsule-dev.com/Tasks
GET https://task-manager-api.fsd-capsule-dev.com/Tasks/{id}
POST to https://task-manager-api.fsd-capsule-dev.com/Tasks
{
"summary": "Create Release Definitions",
"description": "Create Release Definitions in Azure",
"startDate": "2018-07-23",
"endDate": "2018-07-27",
"priority": 3,
"status": 0
}PUT to https://task-manager-api.fsd-capsule-dev.com/Tasks/{id}
{
"$id": "1062",
"summary": "Another Task Edited",
"description": "Create Release Definitions in Microsoft Azure",
"startDate": "2018-07-23",
"endDate": "2018-07-27",
"priority": 3,
"status": 0
}DELETE https://task-manager-api.fsd-capsule-dev.com/Tasks/{id}
[
{
"$id": "3118",
"taskID": 1,
"summary": "Implement Channel Service",
"description": "Implement Channel Service for the feature which will invoke the factories",
"startDate": "2018-07-02T00:00:00",
"endDate": "2018-07-06T00:00:00",
"priority": 2,
"status": 0
},
...
{
"$id": "3130",
"taskID": 14,
"summary": "Create Release Definitions",
"description": "Create Release Definitions in Microsoft Azure",
"startDate": "2018-07-23T00:00:00",
"endDate": "2018-07-27T00:00:00",
"priority": 3,
"status": 0
}
]{
"$id": "3131",
"taskID": 1,
"summary": "Implement Channel Service",
"description": "Implement Channel Service for the feature which will invoke the factories",
"startDate": "2018-07-02T00:00:00",
"endDate": "2018-07-06T00:00:00",
"priority": 2,
"status": 0
}