With this template you can easily start to develop client-server application with Scala.js, React and Elemental-UI on the client side and Play on the server side. Circe is used for serialization of data between client and server.
Template is implemented in the form of TODO application example.
The following technologies are used:
- For front-end side (
client
module)- Scala.js v0.6.21
- scalajs-react v1.1.1
- scalajs-react-components v0.8.0
- react v15.6.1
- elemental-ui v0.6.1
- npm is used for building JavaScript dependencies
- For back-end side (
server
module)- Play Framework v2.6.11
- For client-server messages and shared code cross-compiled to both jvm and js (
shared
module)- Circe v0.9.0
Make sure that you have npm
and sbt
installed.
$ sbt new dborisenko/scalajs-react-play-elemental-ui.g8
Now you can run your application
$ sbt server/run
And now TODO application example is accessible in localhost:9000
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D