Skip to content

robconrad/match-api

Repository files navigation

match-api

  • start server with ./sbt run
  • run tests with ./sbt test
    • test run configurations should include VM Parameter -Dconfig.file=src/main/resources/test.conf
  • package fat jar with ./sbt assembly
  • run jar with java -jar $JAR
    • override reference conf with java -jar $JAR -Dconfig.file=$CONF (confs merge with last-one-wins)
    • production & staging confs are supplied in src/main/resources with the following replaceable tokens:
      • $DATABASE_USERNAME$ - replace this for the db username
      • $DATABASE_PASSWORD$ - replace this for the db password

License

There isn't one. I retain the copyright to this source, it is not licensed at all but is presented for the purposes of learning and discussion only. Please don't try to do anything with this :) If you'd like a good starting place for a Scala-based API server, check out https://github.com/robconrad/base-api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published