Skip to content

Files

Latest commit

ac08ced · Mar 7, 2019

History

History
38 lines (25 loc) · 412 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 412 Bytes

gotasks

Run

sh run.sh

... and go to http://localhost:8080/

API

Models

Task:

  • id: string
  • name: string
  • description: string
  • active: bool
  • time: number
  • username: string

--

Create a new task

Route: /add Method: POST JSON Body: Task

Get all tasks

Route: /getall Method: GET

Update a task

Route: /update Method: POST JSON Body: Task (id required)