-
Notifications
You must be signed in to change notification settings - Fork 134
Scotty Tutorials & Examples
toptobes edited this page Dec 3, 2023
·
18 revisions
Welcome to the Scotty wiki!
Please feel free to add links or commentary you find useful when working with Scotty. Links to your own blog posts or hackage packages which are highly encouraged!
- Making A Website With Haskell - An in-depth tutorial for creating a site with Scotty, blaze-html, and Persistent. (July 16, 2014).
- 24 Days of Hackage: scotty - A 1,200 word example of Scotty GET and POST handlers, including exception handling.
- Building a JSON REST API in Haskell - (October 21, 2014).
- Scotty Starter - (Jan 27, 2014).
- How to use warp-tls instead of warp with scotty? - (December 2, 2015).
- The Antiblog - Simple blog engine made with Scotty, blaze-html and postgresql-simple. (June 7, 2016).
- REST JSON blog server (MySQL) - Example of REST JSON blog server with scotty, aeson, mysql, mysql-simple, resource-pool and basic authentication. (May 7, 2015).
- REST JSON blog server (PostgreSQL) - Example of REST JSON blog server with scotty, aeson, postgresql-simple, resource-pool and basic authentication. (May 10, 2015).
- Practical Haskell - Building a JSON API (Aug 19, 2015)
- Basic HTTP auth with Scotty (April 14, 2016)
- Simple website with data being charted with highcharts - A simple website built using Scotty - uses transformers. Also uses Mustache. (March, 2017)
- Scotty & BlazeHtml webapp (April, 2017)
- An Example in Scotty + Aeson + MonadTransformers + Parsec (June 2017)
- Exemplary real world backend API built with Scotty https://realworld.io (Oct 2017)
- Backend API with basic checking account functionality using a TVar as the database (Aug 2019)
- Building a Bulletin Board Using Scotty and Friends (Dec 2020)
- Yet another https://realworld.io example backend API w/ Scotty (Dec 2023)