Skip to content

dtreb/finatra-quill-slick-mysql-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.