Initial project skeleton
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
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{- | 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
|
||||
Reference in New Issue
Block a user