No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

twack-server

About

A simple back end for twack. Gets a token for a Twilio based chat application and returns it to the front end.

There are three Gradle targets for running the application:

  • dev
  • qa
  • prod

Each have a config file related to them for necessary, well, config information. Check out /src/main/groovy/conf/config-template.groovy. If they don't exist, create 3 files in that directory:

  • config-dev.groovy
  • config-qa.groovy
  • config-prod.groovy

And modify the contents as appropriate.

To run the service, type one of the following commands:

  • gradle runDev
  • gradle runQa
  • gradle runProd

And the service will pick up the appropriate config at runtime. You can also use IntelliJ IDEA's Gradle plugin to run/debug those tasks.