~fnux/baileys

ref: 7e5cc7cd0a66cd05326b2d62b21af329d35f7764 baileys/src/Baileys/Handler.hs -rw-r--r-- 245 bytes View raw
7e5cc7cdTimothée Floure Initial project structure 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE OverloadedStrings #-}

module Baileys.Handler where

import Baileys.API
import Servant

baileysAPI :: Proxy BaileysAPI
baileysAPI = Proxy

srv :: Server BaileysAPI
srv = return "hello"

app :: Application
app = serve baileysAPI srv