1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-30 02:14:01 +03:00
applied-fp-course/level05
Sean Chalmers 86fc64c3dd Add some more guidance.
Added readme files to the individual exercises to help point people in the right
direction when they get started. Probably more useful to the people that are
wanting to try this by themselves.
2017-08-31 11:31:08 +10:00
..
bin Added PostgreSQL Db Integration 2017-08-14 16:40:42 +10:00
src/FirstApp Restructure to something more sensible 2017-08-24 15:45:57 +10:00
tests Databasezz! 2017-08-15 15:17:04 +10:00
appconfig.json Added PostgreSQL Db Integration 2017-08-14 16:40:42 +10:00
ChangeLog.md Added Level05 - Add a database [WIP] 2017-08-11 16:28:56 +10:00
default.nix Databasezz! 2017-08-15 15:17:04 +10:00
level05.cabal Restructure to something more sensible 2017-08-24 15:45:57 +10:00
LICENSE Added Level05 - Add a database [WIP] 2017-08-11 16:28:56 +10:00
README.md Add some more guidance. 2017-08-31 11:31:08 +10:00
Setup.hs Added Level05 - Add a database [WIP] 2017-08-11 16:28:56 +10:00
shell.nix Added Level05 - Add a database [WIP] 2017-08-11 16:28:56 +10:00

Level 05

We need a place to store our Comments/Topics, so we're going to use the SQLite database. We've chosen SQLite because it takes the least amount of setup for the purposes of the course. There is an example module included for PostgreSQL however the course will focus on the SQLite implementation.

For reference, the packages we will use to talk to our database are:

Start in src/FirstApp/DB.hs

NB: The PostgreSQL example module is in src/FirstApp/DB/PostgreSQL.hs.