Chapter 7. Connecting to a database

This chapter covers

  • Setting up a database from SBT
  • Connecting to a database from weKanban using Squeryl
  • Finishing the weKanban application

In chapter 6 you learned how to create a simple web application using the Simple Build Tool (SBT) and the Scalaz HTTP module. But the application you set out to build in the previous chapter wasn’t complete. The reason: to build a functional Kanban application, your application needs to store information such as stories and its status into persistent storage.

Note

This chapter is an extension of chapter 6, so if you haven’t read that chapter, some parts in this chapter related to Scalaz and SBT could be hard to follow.

In this chapter you’ll ...

Get Scala in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.