Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 806 Bytes

File metadata and controls

18 lines (14 loc) · 806 Bytes

flashcards

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/).

  1. get a card with "/nxtc" (next card)
  • the response (as json) contains the question, an answer, a hint and an id
  1. 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
  1. post on path "/learned" with a json answer ("id" and "level")
  2. the server will return the new level
  3. get the next question

Used Page by Don Rozenberg for initial GUI design for the manager.