Implementation of the board game San Juan by Andreas Seyfarth using Scala, Play and Akka. This project is for study purposes of functional and reactive programming.
- jdk 8
- sbt 1.0.4
- MongoDB 3.6
Setup the database in MongoDB, run bin/mongo
and:
- create the database:
use sanJuanScala
- create the collection:
db.createCollection("sjsCollection", { size: 10000000, max: 15000000 })
- create the user and role:
db.createUser( {user: "sjsUser", pwd: "somepwd", roles: [ {role: "readWrite", db: "sanJuanScala"} ]} )
Using a terminal, go to the project's root folder:
- run
sbt run
- go to http://localhost:9000/
Using a terminal, go to the project's root folder and run sbt test
- Scala 2.12.3 - programming language
- Play Framework 2.6 - web framework
- Akka 2.5.7 - concurrent toolkit
- Bootstrap v4.0.0-beta.3 - toolkit for developing with HTML, CSS, and JS
- MongoDB 3.6 - document-oriented NoSQL database
- Carlos Luz - GitHub
- Functional Programming in Scala by Paul Chiusano and Runar Bjarnason
- Reactive Web Applications by Manuel Bernhardt