- Android Studio
- Kotlin (Jetpack Compose UI)
- Material Design Components
- json-server
- db.json (for local data storage)
Install Docker if you want to use devcontainer (In this case, you do not need to install Node.JS on your computer)
Make sure you installed the Node.JS For details: visit this website and follow the instructions https://nodejs.org/en/download
- Clone the repo
git clone https://github.com/Solarctic/MobileAppProject- Go to the mobile-app folder
cd MobileAppProject- Install json-server globally (if not already installed)
npm install -g json-server- Open the MobileAppProject in Android Studio.
- Connect your Android device or start an emulator.
- Run the app using the Run button.
Make sure the project has:
in "AndroidManifest.xml"
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
...
<uses-permission android:name="android.permission.INTERNET" />
<application
...
android:usesCleartextTraffic="true"in main/java/com/example/api/
.baseUrl("http://10.0.2.2:4000/")
is configured along with
json-server --watch db.json --port 4000