nous avons utilisé Google Drive au lieu de Firebase Storage pour le partage des images car Firebase Storage nécessite une carte bancaire pour l'authentification
FitHub is an Android mobile application (Java) dedicated to fitness tracking and community sharing.
It allows each user to create an account, track personal data (weight, height), and publish posts similar to Reddit.
- Build a mobile fitness application
- Manage user authentication
- Track personal data (height, weight)
- Add a post system (feed / community)
- Use Firebase as backend
- Apply MVVM architecture
- Android Studio
- Java
- Kotlin (for build)
- Firebase Authentication
- Cloud Firestore
- Firebase Storage
- Google Material 3 Components
- MVVM Architecture
- GitHub (team collaboration)
com.example.fithub
│
├── activity
│
├── fragment
│
├── adapter
││
├── model
│
├── repository
│
├── utils
│
└── viewmodel
✅ Login & Register
✅ Secure authentication with Firebase
✅ User profile (height, weight)
✅ Create posts (Reddit-style)
✅ Public feed
✅ Material Design interface
✅ Real-time cloud database (Firestore)
The google-services.json file is not included in this repository for security reasons.
Each team member must:
- Go to the Firebase main page
- Click on the Android (🤖) icon
- Fill in:
| Field | Value |
|---|---|
| Android package name | com.example.fithub |
| App nickname | FitHub |
- Click on Register App
- Download the file:
google-services.json
- Copy thif file into: app/ (the main folder of your Android project)
- Clone the repository:
git clone https://github.com/your-username/FitHub.git-
Open the project in Android Studio
-
Add your
google-services.jsonfile into the/appfolder -
Sync the project:
File → Sync Project with Gradle Files
- Run the application on an emulator or physical device
Project developed for the Mobile Programming module University / School: Faculty of Science and Technology in Marrakech (FSTG)
Team members:
- BELEFQIH MOHAMMED
- EL MAHDAOUI MOHAMMED
- RIZKI ABDELHADI
- OUTZMOURTE HAMZA
- ID EL KADI AMINE
- EL IDRISSI MOHAMED
To be added: Login, Register, Feed, Profile, Add Post…
This project is intended for educational and academic purposes only.