Skip to content

A simple template for getting started on Haskell web apps and/or REST APIs.

License

Notifications You must be signed in to change notification settings

adueck/haskell-web-starter

Repository files navigation

Haskell Web Starter

A simple template for getting started on Haskell web development. This provides a bare-bones reading tracking app to show how you can serve web pages and REST APIs in Haskell.

This can be used to get started with JSON API webservices, client-facing HTML web apps, or both.

Features

demo.mp4

Requires

Running

Edit the Postgres connection info in app/Main.hs

localPG :: ConnectInfo
localPG =
  defaultConnectInfo
    { connectDatabase = "postgres",
      connectHost = "localhost",
      connectPassword = "1234"
    }

Then run the app using cabal

$ cabal run

About

A simple template for getting started on Haskell web apps and/or REST APIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published