Amazing Reddit clone - A network of communities where people can dive into their interests, hobbies and passions.
- A Social Network for Communities and Groups - Reddit is a network of communities based on people's interests. Find communities you're interested in, and become part of an online community!
It is the Software Course' project in Faculty of Engineering, Cairo University.
The project aims to design and implement a software product using state-of-the-art tools and technologies in the software industry.
A comprehensive visual walkthrough of the Settings, Navigation Drawers, and Community Management modules I architected and implemented.
reddix_compressed.mp4
| Left Drawer (Feeds) | Left Drawer (Updated) | Right Drawer (Profile) |
|---|---|---|
![]() |
![]() |
![]() |
| Settings Menu | Account Settings | Email Settings | Change Password |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
| Create Community | Bottom Sheet | Community Rules |
|---|---|---|
![]() |
![]() |
![]() |
| Profile Pic Setup | Recover Username | Forget Password |
|---|---|---|
![]() |
![]() |
![]() |
| Username Reset Mail | Password Reset Mail |
|---|---|
![]() |
![]() |
Role: Flutter Developer & Integration Lead (Settings, Community, Drawers)
I was responsible for architecting and implementing critical user-facing modules, ensuring seamless state management and backend integration.
Implemented the entire Settings module, handling user preferences, account management, and profile updates.
- Architecture: Decoupled UI (
mobile_settings_view_controller.dart) from logic (settings_service.dart) using the MVC+S pattern. - State Management: Utilized Provider to propagate setting changes (e.g., Dark Mode, Notification preferences) instantly across the app without rebuilding the entire tree.
- Backend Sync: Designed the
settings_model.dartto serialize/deserialize user configurations and sync them with the REST API.
Developed the core navigation hubs for the mobile application.
- Left Drawer: Implemented dynamic community lists and feed navigation.
- Right Drawer: Built the user profile and authentication management interface.
- Unit Testing: Wrote comprehensive unit tests for drawer logic (
drawer_view_model_controller.dart), achieving high code coverage for navigation state transitions.
Designed the flow for users to establish new subreddits (communities).
- Validation Logic: Implemented
create_community_controller.dartto handle complex form validation (name availability, topic tags). - Service Integration: Connected the UI to
create_community_service.dart, ensuring robust error handling during the community creation API handshake.
Insights from the development logs (Phase 4)
| Phase | Duration | Key Activities |
|---|---|---|
| Learning & Setup | Weeks 1-2 | Mastered Git workflows, researched state management (Provider), and planned module architecture. |
| Core Development | Weeks 3-6 | Implemented core UI: Settings Screen (v1), Navigation Drawers, and Routing logic. |
| Optimization | Weeks 7-8 | Refactored monolith widgets into reusable components; deep architectural cleanup. |
| Integration | Weeks 10-12 | Merged "Settings" and "Community" modules with Backend APIs; resolved critical CI/CD pipeline blocks. |
Highlight: Overcame significant hardware constraints (complete laptop failure in Week 2) by migrating development to university lab machines, maintaining a high-velocity output of 10+ coding hours during crunch weeks (Week 10/12).
pagination
Responsive
There is a service to mimic the back-end responses (with fake data) to work without the back-end whenever needed.
Alternating between the real and the mimic back-end is very smooth as we change one variable only.
Separation of responsibilities & Smooth Integration.
Using package managers.
Single Responsibility Principle [SRP]
Separation of Duties [SoD].
DRY Principle [Donβt Repeat Yourself]
Commenting.
Formatting and Linting.
Naming Convention.
Unit Testing.
Task Management.
Authentication & Authorization.
Divide system into multiple modules.
Flutter
dartdoc package in flutter
Documentation files are in doc folder
flutter_test Package for unit testing
test_cov_console Package for test coverage report
We did unit testing for Logic functions in the Controllers files
Testing codes are in test folder
Each controller's functions test is in a separate file in this folder
Resources explain using this packages in Unit testing:
Formatting Tool:
VsCode formatting tool
Linting:
Dart_Linting rules
flutter_code_style package
https://dart.dev/guides/language/effective-dart/style
https://dart.dev/tools/linter-rules
https://pub.dev/packages/dart_style
https://pub.dev/packages/flutter_code_style/score
sign up by Email
sign up by Gmail
sign up by Facebook
Forget password
Forget username
Fire bsed used in Google and Face Authentication to handle Token
Choose your interest, profile picture, gender, username when you first sign up in Reddit
Saving login Status in shared prefrence to be kept loged in
RESTful API that sends and receives data in JSON format.
Used Technologies in requests: HTTP & DIO
MVC+S architecture
M stands for models
V stands for views
C stands for controllers
S stands for services
Resources for MVC+S in flutter:
Models are data classes.
Each Functionality has a file for its model.
Each model file contains lists for mock data and lists for real data.
Views are all the Widgets and Pages within the Flutter Application.
It divides into two folders:
1-Screens:
This folder contains a folder for each functionality in the Reddit App.
The folder for each functionality contains the Screens of this functionality
2-Widgets:
This folder contains a folder for each functionality in the Reddit App.
The folder for each functionality contains the Widgets used in the screens of this functionality
The controller layer is high-level functions that perform a specific type of task.
State management logic goes in here.
We used Providers for state management
Contains Two types of controllers:
1-UI controllers that has the logic that deals with UI layer and update app state according to user interactions.
2-controllers thet typically fetch from services and inject them into models and that way they control and update app state.
Services fetch data from the outside world and return it to the app. Commands call on services and inject the results into the model. Services do not touch the model directly.
Whatever data that comes into our APP must have to be from here. It is connecting with REST API.
There is a file for each functionality service.
Team Leader:
Flutter Developers:
DevOps:
















