Skip to content

jacquescomeaux/tomatobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomatobot

My first Haskell web app: a GroupMe bot which could, hypothetically, be used to deliver on-demand random tomato images to a GroupMe chat, but which should, of course, only be used when adapted to follow the terms of service of the Unsplash API

Best practices meet a best-effort development cycle: I wrote this in one day, following best practices when I knew about them and when it wasn't too much work.

I structured the app with the ReaderT design pattern, and, as always, adhered to the tenets of type-driven design.

Things to do differently next time:

  • Use Servant instead of WAI + Warp
  • Don't commit hardcoded access tokens (they are no longer valid)
  • Don't give up so early on error handling

About

tomato-by-construction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published