dtreb / finatra-quill-slick-mysql-basics

Finatra, Quill and Slick with Mysql. Basics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finatra, Quill and Slick with Mysql. Basics

Info

This is a very simple project that demonstrates usage of:

  1. Finatra server, controller, model
  2. Quill and Slick3 with MySQL DB
  3. Bootstrap and jQuery for UI
  4. Basic scala tests with Mockito
  5. Generated Session ID persisted in cookies

Setup:

  1. Run MySQL and execute script from init.sql
    Note: config files use ubuntu user and circle_test database for CircleCI integration.

  2. Adjust config at application.conf with your MySQL credentials

  3. Run application via $ sbt run

  4. Then browse to: http://127.0.0.1:9999

  5. [Optional] Modify LibraryController(15) to use Slick instead of Quill.

Feel free to use, comment or collaborate.

About

Finatra, Quill and Slick with Mysql. Basics.


Languages

Language:Scala 78.1%Language:HTML 21.9%