MackHartley / simpleTodoAndroid

A simple todo app for Android. Built with Kotlin, Coroutines, Koin and OAuth 2.0 authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleTodo

This project is a bare bones, example project for making your own Android app and Scala backend. I used this project to learn how to create and deploy a backend service (I was already familiar with Android development).

I wanted to make this project public because I imagine there are some Android developers out there who are interested in learning more about backend. If that's you, then this repo (and the backend repo) would be a good reference to learn how to make your own backend scala service.

Get it on Google Play

Technical Details

Below is a summary of the tech stack used for this project:

System Technologies Used
Andoid App Kotlin, Coroutines, Koin, Retrofit, MVVM, Single Activity Multi Fragment
Authentication Auth0 SDK (Android & Scala), OAuth2.0, JWT
Backend Service Scala, Play Framework, Slick
Database Postgres, PSQL

If you are interested in using Scala Play to make your own backend service, below are a few good resources to review. These are the same resources I used to teach myself:

The approach I took for making this project was the following:

  1. Build the backend service. I used the above resources to learn how to do this
  2. Create the Android app
  3. Get the Android app and backend service to communicate with each other
  4. Start adding authentication to the backend service and app via Auth0. This is a good Scala + Auth0 tutorial
  5. Add Auth0 to the Android app. This is a good Android + Auth0 doc
  6. Ensure that the app and backend service can still communicate now that authentication has been added
  7. Deploy the backend service to Heroku

Pictures

About

A simple todo app for Android. Built with Kotlin, Coroutines, Koin and OAuth 2.0 authentication


Languages

Language:Kotlin 100.0%