Created
December 22, 2015 22:41
-
-
Save diginc/e21992634b641c7ae6fd to your computer and use it in GitHub Desktop.
simple todo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use git for all steps of the process. | |
Write a server that knows how handle a TODO list. Preferably test driven. Initially the server can use a very simple in-memory collection of items. If time permits, we can have it backed with a database living in another docker container. | |
Server: | |
GET /todos | |
PUT /todos {"title": "<TITLE>", "message": "<MESSAGE"}. Returns the location in the header | |
GET /todos/ID Returns single note. | |
POST /todos/ID {"id": "<ID>", "title": "<TITLE>", "message": "<MESSAGE"}. Updates a note | |
POST /search {"title": "<TITLE_SEARCH_STRING>", , "message": "<MESSAGE_SEARCH_STRING"}. Returns all the todos with a title or message that matches the search. Maybe the search string could be a regex. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment