https://github.com/kyleu/chinook
Simple project, generated by Database Flow
https://github.com/kyleu/chinook
Last synced: 11 months ago
JSON representation
Simple project, generated by Database Flow
- Host: GitHub
- URL: https://github.com/kyleu/chinook
- Owner: kyleu
- Created: 2018-09-18T03:39:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T03:06:49.000Z (over 7 years ago)
- Last Synced: 2025-03-13T08:34:08.789Z (over 1 year ago)
- Language: Scala
- Size: 5.25 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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](https://)
## 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,
```shell
$ 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.