BicingAround
The BicingAround android app is used to display data from Barcelona bike stations on a map. We might select any station from it to display its current status. In addition, we might save them as favourite, so that we can check their status in a fastest way.
Data
All the data used in the application is open source and provided by the Barcelona Town Hall.
Architecture
The application is developed with Kotlin and Jetpack Compose, the newest UI library for android apps. As the architecture, it follows the MVVM pattern with a data repository.
In the application, we have used the following libraries:
- Koin: used to inject dependencies into classes (Dependency Injector)
- Retrofit: used to perform all server requests
- DataStore: used to store key-value pairs of data
- Kotlin serialization: used to serialize data classes as JSON
Api keys
In order to use the application you need to configure the Google Maps api key, by following these steps:
- Get a google maps api key as explained here.
- Open the
local.properties
file from project and add the following line:MAPS_API_KEY=YOUR_MAPS_API_KEY
Remember that you should never commit any api key into your repositories. Instead you may store them in this file and access them when needed, as explained here. In case of google maps, we are usign a plugin that configures it automatically.