MackHartley / SimpleTodoService

Backend server for the SimpleTodo App. Built with Scala and the Play Framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Switch the server host address to 10.0.2.2:9000. Do that by commenting out this code and uncomment this code
  2. Switch the Android app to send requests to 10.0.2.2:9000
  3. 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:

  1. Navigate to the simpleTodoService folder
  2. 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.

About

Backend server for the SimpleTodo App. Built with Scala and the Play Framework.


Languages

Language:Scala 92.2%Language:HTML 7.8%