aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: ea10134d3fef5ea4764f003ab69ea1911e6de59c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Scala Triad
A demo webapp that uses Scala's coolest libraries and features. The
project is called "triad" as it includes parts written in all 3 of
Scala's target plaforms: JVM, JS, and Native.

The demo is a chat application and demontstrates how a full-fledged
web application can be built to be 100% typesafe, sharing a model
across backend, frontend and commandline utility.

It also showcases how an application can gracefuly degrade if a user
does not have javascript enabled.

## Features

- Server written in Scala
	- Akka HTTP for routing
	- Akka streams for safe concurrency abstractions
	- Slick for database access

- Scala Native as a commandline interface

- ScalaJS as an interactive frontend

- Shared model classes, utilities, and formats across all platforms
	- spray-json (derivation)
	- scalatags