Trello-style task board, holding tasks in boards (Open, In Progress, Done)
- Technologies: .NET 6, ASP.NET MVC Core, Entity Framework Core, MS SQL Server
- The app supports the following operations:
- Home page (view tasks count + menu):
/
- View the boards with tasks:
/Boards
- Search tasks by keyword:
/Tasks/Search
- View task details (by id):
/Tasks/Details/:id
- Add new task (title + description + board):
/Tasks/Create
- Edit task / move to board:
/Tasks/Edit/:id
- Delete task:
/Tasks/Delete/:id
- Home page (view tasks count + menu):
The following endpoints are supported:
GET /api
- list all API endpointsGET /api/boards
- list all boardsGET /api/tasks
- list all tasksGET /api/tasks/count
- returns tasks countGET /api/tasks/:id
- returns a task by givenid
GET /api/tasks/search/:keyword
- list all tasks matching given keywordGET /api/tasks/board/:boardName
- list tasks by boardPOST /api/tasks/create
- create a new task (post a JSON object in the request body, e.g.{"title": "Add Tests", "description": "API + UI tests", "board": "Open"}
)PUT /api/tasks/:id
- edit task byid
(send a JSON object in the request body, holding all fields, e.g.{"title": "changed title", "description": "changed description", "board": "Done"}
)PATCH /api/tasks/:id
- partially edit task byid
(send a JSON object in the request body, holding the fields to modify, e.g.{"title":"changed title", "board":"Done"}
)DELETE /api/tasks/:id
- delete task byid
GET /api/users
- list all usersPOST /api/users/login
- logs in an existing user (send a JSON object in the request body, holding all fields, e.g.{"username": "username", "password": "pass123"}
)POST /api/users/register
- registers a new user (send a JSON object in the request body, holding all fields, e.g.{"username": "username", "email": "[email protected]", "password": "pass123", "confirmPassword": "pass123", "firstName": "Test", "lastName": "User"}
)