zenith/app/Server.hs
2024-07-23 13:47:07 -05:00

9 lines
201 B
Haskell

module Server where
import Network.Wai.Handler.Warp (run)
import Servant
import Zenith.RPC (ZenithRPC(..), zenithServer)
main :: IO ()
main = run 8081 (serve (Proxy :: Proxy ZenithRPC) zenithServer)