in Android 8.0 and above, We cannot access location in the background or when the app is terminated so to solve this problem we have to start a foreground service that will fetch continuous location updates and passes it to the server.
While Hosting Api on Heroku we had to figure out that we had to make multiple buildpacks as two languages and their dependencies were involved. To figure out this, it take a lot of time.