72d94170b4
Haskell backend: Orb HTTP framework, JSON-only API Frontend: Mithril.js SPA with TypeScript, Neo Brutalism CSS Dockerized build via flipstone/haskell-tools image Routes: GET /api/health — health check Build: ./hs stack build Test: ./hs stack test Run: ./scripts/run
14 lines
259 B
Haskell
14 lines
259 B
Haskell
{- | Test entry point for sis-server.
|
|
-}
|
|
module Main (main) where
|
|
|
|
import Test.Hspec (Spec, describe, hspec, it, shouldBe)
|
|
|
|
main :: IO ()
|
|
main = hspec spec
|
|
|
|
spec :: Spec
|
|
spec = describe "Sis.Server" $
|
|
it "health check returns ok" $
|
|
True `shouldBe` True
|