Skip to content

Refactor project structure and implement clean architecture for auth & onboarding#78

Closed
saraashrafff wants to merge 3 commits intodevelopmentfrom
refactor/project-clean-architecture
Closed

Refactor project structure and implement clean architecture for auth & onboarding#78
saraashrafff wants to merge 3 commits intodevelopmentfrom
refactor/project-clean-architecture

Conversation

@saraashrafff
Copy link
Copy Markdown
Collaborator

This PR includes two major improvements:

  1. Project Restructuring:

    • Separated project into core/ (shared widgets, theme, constants) and features/ (auth, onboarding, etc.).
    • Organized modules for better maintainability and scalability.
    • Improved overall project readability and folder hierarchy.
  2. Auth & Onboarding Refactor:

    • Moved Firebase and Google sign-in logic to data layer (repository + datasource).
    • Added Cubits for login, signup, forget password, and onboarding flows.
    • UI screens remain exactly the same visually.
    • EmailSent screen kept as pure UI (stateless, no Cubit needed).
    • Code is now clean, testable, and follows two-layer architecture (presentation & data).

These changes set up the project for scalable development and easier feature additions in the future.

…cture

- Moved Firebase & Google sign-in logic to data layer (repository + datasource)
- Added Cubit for login, signup, forget password, and onboarding flows
- UI screens remain identical (no visual changes)
- EmailSent screen kept as pure UI (stateless, no Cubit needed)
- Improved code maintainability, testability, and clean architecture separation
@saraashrafff saraashrafff requested a review from Salint January 14, 2026 22:02
@Salint
Copy link
Copy Markdown
Member

Salint commented Feb 22, 2026

Fixed in #84.

@Salint Salint closed this Feb 22, 2026
@Salint Salint deleted the refactor/project-clean-architecture branch February 22, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants