a simple client/server for creating and learning with flashcards
the server (found under source) handles simple push and get requests made by the client. one can get the api from a get on the root (i.e http://localhost:8000/).
- get a card with "/nxtc" (next card)
- the response (as json) contains the question, an answer, a hint and an id
- do your learning thing and decide how good it was with the following levels
- 0 = not even seen before ... no idea
- 1 = barely correct
- ...
- 5 = knew that before i was born
- post on path "/learned" with a json answer ("id" and "level")
- the server will return the new level
- get the next question
Used Page by Don Rozenberg for initial GUI design for the manager.