Jamquery is a simple application for purpose of learning new languages.
jam
- User can type any keyword, along with the message to store the message with the keyword as a key.$ jam GitHub "The largest hub for storing Git repositories" A new jam 'GitHub' successfully added.
query
- User can search existing jams and find that matches the keywords.$ query GitHub > An existing jam 'GitHub' found: > "The largest hub for storing Git repositories" $ query Apple > Jam with the key 'Apple' not found.
mutate
- User can change the content of existing jam.$ jam GitHub "Boom" The existing jam 'GitHub' successfully updated.
serve
- User can use HTTP requests to use jamquery.POST /jam
- foradd
andmutate
GET /jam?query=
- for 'query'export
- User can get the full list of jams with desired format. (txt, csv, json)$ export json > {"GitHub":"Boom"} $ export csv > GitHub,Boom
- All these specs should be tested using unit test. Use any kind of unit test framework to test the program.