Simple project, generated by Database Flow
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Generated files update, output from Database Flow Sep 18, 2018
bin Port change, bin scripts Sep 19, 2018
client/src/main/scala Generated files update, output from Database Flow Sep 18, 2018
conf Port change, bin scripts Sep 19, 2018
data Generated files update, output from Database Flow Sep 18, 2018
doc/src/main Generated files update, output from Database Flow Sep 18, 2018
project Generated files update, output from Database Flow Sep 18, 2018
public Generated files update, output from Database Flow Sep 18, 2018
shared/src/main/scala Generated files update, output from Database Flow Sep 18, 2018
test/models/doobie Generated files update, output from Database Flow Sep 18, 2018
.gitignore Generated files update, output from Database Flow Sep 18, 2018
.scalafix.conf Generated files update, output from Database Flow Sep 18, 2018
.scalariform.conf Generated files update, output from Database Flow Sep 18, 2018
.travis.yml Generated files update, output from Database Flow Sep 18, 2018
Jenkinsfile Generated files update, output from Database Flow Sep 18, 2018
build.sbt Generated files update, output from Database Flow Sep 18, 2018
databaseflow.json Generated files update, output from Database Flow Sep 18, 2018
deploy.yaml Generated files update, output from Database Flow Sep 18, 2018
graphql.config.json Generated files update, output from Database Flow Sep 18, 2018
readme.md Generated files update, output from Database Flow Sep 18, 2018
scalastyle-config.xml Generated files update, output from Database Flow Sep 18, 2018

readme.md

Chinook

Chinook is a pure Scala reactive web application built on Play 2.6, Scala.js, Silhouette 5, Akka, Sangria, and postgres-async. It extends some of the work found in Boilerplay

Running the app

First, change the database section of application.conf to use your existing database credentials.

You'll either need Node.js available as "node" on the path, or change project/Server.scala's EngineType to Rhino.

Now, finally,

$ sbt
> run
$ open http://127.0.0.1:9000

As the application starts, it will create database tables and seed data.

The first account to sign up is created as an Admin, all subsequent users will have a normal user role.

Projects

  • server Main web application.
  • sharedJvm Core Scala logic and rules definitions, for JVM projects.
  • sharedJs Shared classes, compiled to Scala.js JavaScript.
  • client Barebones Scala.js app.