GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - Mamdouh-Attia/RedditX-Cross-Platform: πŸ”΄πŸŽ“ (Software Engineering Project) A High-Fidelity Reddit Clone (Flutter + Node.js): A complete social network implementation with MVC+S architecture. Features infinite scrolling, hierarchical community creation, real-time comment trees, and robust moderation tools.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

254 Commits
254 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
android
android
 
 
assets
assets
 
 
coverage
coverage
 
 
ios
ios
 
 
lib
lib
 
 
linux
linux
 
 
macos
macos
 
 
readme_assets/mamdouh_contributions
readme_assets/mamdouh_contributions
 
 
test
test
 
 
web
web
 
 
windows
windows
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
.metadata
.metadata
 
 
Dockerfile.prod
Dockerfile.prod
 
 
Jenkinsfile
Jenkinsfile
 
 
MVC+S.png
MVC+S.png
 
 
README.md
README.md
 
 
Reddit_Logo.jpg
Reddit_Logo.jpg
 
 
analysis_options.yaml
analysis_options.yaml
 
 
docker-compose.yaml
docker-compose.yaml
 
 
pubspec.lock
pubspec.lock
 
 
pubspec.yaml
pubspec.yaml
 
 

Repository files navigation

Reddit App

⚑️Reddit clone⚑️


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.

Reddit Web API.


πŸ“± Project Gallery: My Modules & UI Showcase

A comprehensive visual walkthrough of the Settings, Navigation Drawers, and Community Management modules I architected and implemented.

reddix_compressed.mp4

πŸ“‚ Navigation & Drawers

Left Drawer (Feeds) Left Drawer (Updated) Right Drawer (Profile)

βš™οΈ Settings & Account Management

Settings Menu Account Settings Email Settings Change Password

πŸ‘₯ Community Creation & Logic

Create Community Bottom Sheet Community Rules

πŸ” Authentication & Recovery Flows

Profile Pic Setup Recover Username Forget Password

πŸ“§ Backedn Integration In Action

Username Reset Mail Password Reset Mail

πŸ‘¨β€πŸ’» My Technical Contributions

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.

βš™οΈ 1. Settings & User Account Management

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.dart to serialize/deserialize user configurations and sync them with the REST API.

πŸ“‚ 2. Home Screen Drawers (Navigation)

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.

πŸ‘₯ 3. Community Creation Module

Designed the flow for users to establish new subreddits (communities).

  • Validation Logic: Implemented create_community_controller.dart to 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.

πŸ“… Weekly Progress & Development Journey

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).


Selected Features from Reddit

Features List.

Some Used Practices

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.

⛏️Built with

Flutter

Functional Documentaion

dartdoc package in flutter

Documentation files are in doc folder

dartdoc Package.

Unit Testing

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:

Unit Testing Source 1.

Unit Testing Source 2.

Unit Testing Source 3.

Naming Convention and Linting Rules

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

Authentication and Authorization

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

Interface with BE

RESTful API that sends and receives data in JSON format.

Used Technologies in requests: HTTP & DIO

πŸŽ₯ Demo Video

Demo Video On Drive.

Used Architecture

MVC+S architecture

M stands for models

V stands for views

C stands for controllers

S stands for services

My Image

Resources for MVC+S in flutter:

MVC+S resource 1.

MVC+S resource 2.

Files Structure in lib folder

Models

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

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

Controllers

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

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.

Contributors

Team Leader:

Kareem Ashraf.

Flutter Developers:

Ahmed Hany.

Donia Gameel.

Heba Ashraf.

Mamdouh Attia.

Mohammed Sobhy.

Kareem Ashraf.

DevOps:

Waleed Hesham.

About

πŸ”΄πŸŽ“ (Software Engineering Project) A High-Fidelity Reddit Clone (Flutter + Node.js): A complete social network implementation with MVC+S architecture. Features infinite scrolling, hierarchical community creation, real-time comment trees, and robust moderation tools.

Topics

agilecross-functional-collaborationdartdocumentationflutterfull-stackmvcsprovider-state-managementscrum-agilesocial-mediasocial-networksoftware-engineeringunit-testing

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.