A RESTful todo list API written in Go on top of the Revel web framework.
Start the app with revel run. Unless changed in app.conf, the app will start on port 9000 by default.
The following endpoints are available. Use a tool like Postman to exercise them.
GET /upreturns a static HTML page to show that the app is up and running.GET /todosgets all of the todo list items.GET /todos/<uuid>gets a specific todo item by its ID.POST /todoscreates a todo item. At minimum, theTitlemust be supplied in the body of the request.PATCH /todos/<uuid>edits the specified todo item.DEL /todos/<uuid>removes a todo list item by ID.
Run revel test github.com/natejenson/go-api to run the unit tests.