Skip to content
Common Scala.js, React.js web-client utilities and components
Scala CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/src/main/public
docs
project
script
showcase
travis
ui/src
.gitignore
.travis.yml
LICENSE
README.md
build.sbt
pgp.sbt
version.sbt

README.md

Build Status Coverage Status scala-index Scala.js

Scala Commons Client

Common Scala.js, React.js web-client utilities and components.

Showcase/Demo UI

To see the showcase/demo UI with all the components live use the following link:

https://scommons.org/scommons-client/showcase/

How to add it to your project

val scommonsApiVer = "1.0.0-SNAPSHOT"
val scommonsReactVer = "1.0.0-SNAPSHOT"
val scommonsClientVer = "1.0.0-SNAPSHOT"
val scommonsServiceVer = "1.0.0-SNAPSHOT"

libraryDependencies ++= Seq(
  // shared
  "org.scommons.api" %%% "scommons-api-core" % scommonsApiVer,
  "org.scommons.api" %%% "scommons-api-joda-time" % scommonsApiVer,

  // client/js only
  "org.scommons.client" %%% "scommons-client-ui" % scommonsClientVer,
  "org.scommons.react" %%% "scommons-react-test-dom" % scommonsReactVer % "test",

  // server/jvm only
  "org.scommons.service" %% "scommons-service-play" % scommonsServiceVer,
  "org.scommons.api" %% "scommons-api-play-ws" % scommonsApiVer % "test"
)

Latest SNAPSHOT version is published to Sonatype Repo, just make sure you added the proper dependency resolver to your build.sbt settings:

resolvers += "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"

How to Build

To build and run all the tests use the following command:

sbt clean test

How to Run Showcase/Demo locally

Please, see the README.md in showcase sub-project page.

Documentation

You can find more documentation here

You can’t perform that action at this time.