Create Omni/Jr/Web.hs with Servant app skeleton and jr web command

t-1o2g8gugkr1.1·WorkTask·
·
·
·Omni/Jr.hs
Parent:t-1o2g8gugkr1·Created3 months ago·Updated3 months ago

Description

Edit

Create the basic web server module:

  • Omni/Jr/Web.hs with Servant API type and Warp runner
  • Add 'jr web [--port=PORT]' command to Jr.hs docopt and move handler
  • GET / returns simple HTML with 'Jr Web UI' heading
  • Use patterns from Biz/Dragons.hs (Servant + Warp + Lucid)
  • Default port 8080, configurable via --port flag

Timeline (0)

No activity yet.