The JS app "Task Board" holds a board of tasks (in Trello style). Each task consists of title + description. Tasks are organized in boards, which are displayed as columns (sections): Open, In Progress, Done. The app supports the following operations:
- Home page (view tasks count + menu):
/ - View the boards with tasks:
/boards - Search tasks form:
/tasks/search - Search tasks by keyword:
/tasks/search/:keyword - View task details (by id):
/tasks/view/:id - Add new task (title + description):
/tasks/create - Edit task / move to board:
/tasks/edit/:id
The app is based on Node.js + Express.js + Pug.
- It has no database and app data is not persistent!
- Web app live demo: https://taskboard.nakov.repl.co
- RESTful API live demo: https://taskboard.nakov.repl.co/api
- Play with the code at: https://repl.it/@nakov/taskboard
- Android mobile client app: https://github.com/nakov/TaskBoard-AndroidClient
- Windows desktop client app: https://github.com/nakov/TaskBoard-DesktopClient
The following endpoints are supported:
GET /api- list all API endpointsGET /api/tasks- list all tasksGET /api/tasks/:id- returns a task by givenidGET /api/tasks/search/:keyword- list all tasks matching given keywordGET /api/tasks/board/:board- list tasks by boardPOST /api/tasks- create a new task (post a JSON object in the request body, e.g.{"title":"Add Tests", "description":"API + UI tests", "board":"Open"})PATCH /api/tasks/:id- 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 byidGET /api/boards- list all boards





