JackRose-0.8: Spaced repetition web server

Copyright(c) Michael Mounteney, 2021
LicenseBSD 3 clause
Maintainerthe project name, all lower case, at landcroft dot com
Stabilityexperimental
Portabilityundefined
Safe HaskellNone
LanguageHaskell2010

ReviewGet

Description

Authorisation checks before going on to present the next review item.

Synopsis

Documentation

getHomeR :: Handler Html Source #

Try to extract the login user name from the session; if present, verify that it's logged-in.

getReviewR :: Text -> Handler Html Source #

break up deck string into components; add state singleton; add logged-in user; review

Show next item for review, for the logged-in user.