SimpleTodoService
This is the backend service for the SimpleTodo Android app. This service was built with Scala and the Play Framework.
To find out more information, please check out the Android app repo of this project.
Running Locally
If you want to test the Android app and Scala server locally you first need to have them communicate through your local environment. You'll need to make the following changes:
- Switch the server host address to
10.0.2.2:9000
. Do that by commenting out this code and uncomment this code - Switch the Android app to send requests to
10.0.2.2:9000
- Spin up a local Postgres DB. If you're not sure how to do that, this video will be helpful
Once you've made those changes you run the server locally:
- Navigate to the
simpleTodoService
folder - Type
sbt run
If you get an error saying that sbt
isn't recognized, that means you need to install sbt
. Steps for that can be found here.