Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 913 Bytes

File metadata and controls

30 lines (27 loc) · 913 Bytes

MtxDb

A persistent key value store with usage analytics

K/V Store (/kvstore/...)

  • Store a k/v pair with /savekv
  • Load a k/v pair with /getkv
  • Delete a k/v pair with /deletekv

Url Shortener (/urlshortener/...)

  • Store a url & shortname pair with /saveurl
  • Get a url using its shortname with /getkv
  • Auto-redirect to a url with /gotourl
  • List all saved urls with /getallurls

Analytics (/stats)

  • Retrieve information about the app and api hits
  • App data such as
    • date last started
    • authentication requirements
  • Url shortener stats such as
    • total urls
    • total urls with unique names
    • total times users saved or were given invalid urls
    • total times cooldown prevented successive saves
  • Api call data such as
    • all api calls
    • successful calls
    • failed calls
    • calls that changed server data
    • last minute, hour, day and total counts for all these