zenith/app/Server.hs

9 lines
201 B
Haskell
Raw Normal View History

2024-07-23 18:46:37 +00:00
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)