Android application and dedicated backend for Symbiotic City sustainability platform.
SymbioticApp/
├── android-backend/ # Node.js/Express backend (port 3002)
├── SymbioticCityApp/ # Android app (Kotlin, MVVM)
└── .gitignore
- Navigate to backend directory:
cd android-backend
- Install dependencies:
npm install- Create
.envfile (already configured):
PORT=3002
DATABASE_URL=postgresql://postgres:viraj7930@db.nzobbewbakkeydvzhggb.supabase.co:5432/postgres
JWT_SECRET=9Aj1Txenum7CuFz2Eum+lajzqRfcuQSOtboczT+XeW9SuYdkRHJOIRQI68XyKGvUHm/ZObaMjsgWrZaJQBPphg==
NODE_ENV=development- Start the server:
node server.jsOr double-click START.bat on Windows.
-
Open
SymbioticCityAppin Android Studio -
Update API endpoint in
RetrofitClient.ktif needed:- Emulator:
http://10.0.2.2:3002/api/ - Physical device:
http://YOUR_IP:3002/api/
- Emulator:
-
Build and run the app
- Authentication: Login/Register with JWT
- Projects: Browse and view sustainability projects
- Events: Discover community events
- Marketplace: Green products and services
- Profile: User management and settings
Email: test@symbioticapp.com Password: test123
Android:
- Kotlin
- MVVM Architecture
- Retrofit 2.9.0 + OkHttp
- Material Design 3
- DataStore Preferences
- LiveData & ViewModel
Backend:
- Node.js + Express
- PostgreSQL (Supabase)
- JWT Authentication
- bcryptjs
cd SymbioticCityApp
./gradlew assembleDebugAPK location: app/build/outputs/apk/debug/app-debug.apk
The app follows the website's mobile-responsive design with:
- Background:
#E2EAD6(sage green) - Cards:
#B3C893with 16dp radius - Primary:
#4EA685(teal-green) - Modern Material Design 3 components
See LICENSE file.