title: Simple android app + database: what do I need in my android application? (PostgreSQL, REST API)
body: <p>I'm creating a simple android app that hands out rewards depending on the reward points a user has.
  Each person should have his own username, password, reward points and wishlisted items etc.</p>
  
  <p>I'm planning to use a PostgreSQL database on Heroku, and writing an REST API on Heroku.</p>
  
  <p>Now I'm not really sure what I need in my ANDROID APPLICATION itself? (apart from the code) </p>
  
  <p>1) Do I need another REST API?</p>
  
  <p>2) Do I need another database?</p>
  
  <p>3) How does my Android application communicate with the REST API (which communicates with the PostgreSQL on Heroku)? -> what java code do I need to write for this?</p>
  
  <p>Thanks so much.
  Total beginner who is having a hard time finding proper resources. :(</p>