Skip to content

New structure #19

@timGalk

Description

@timGalk

I reviewed the structure of the app and have new suggestions for it. In order to have it more clean and undersrtandable.

dev.lisek.meetly/
├── app/
│ ├── MeetlyApplication.kt # Main application class
│ └── di/ # Dependency Injection
│ ├── AppModule.kt # Application-level dependency module
│ ├── NetworkModule.kt # Network-related dependency module
│ └── RepositoryModule.kt # Repository-related dependency module
├── core/
│ ├── common/ # Common utilities and extensions
│ │ ├── extensions/ # Files with Kotlin extensions
│ │ ├── utils/ # Utility classes
│ │ └── validators/ # Form and data validators
│ ├── domain/ # Business logic and data models
│ │ ├── model/ # Data models
│ │ ├── repository/ # Repository interfaces
│ │ └── usecase/ # Use cases for business logic
│ ├── data/ # Data access implementation
│ │ ├── local/ # Local storage
│ │ │ ├── dao/ # Data Access Objects
│ │ │ └── database/ # Database classes
│ │ ├── remote/ # Remote data sources
│ │ │ ├── api/ # API interfaces
│ │ │ └── dto/ # Data Transfer Objects
│ │ └── repository/ # Repository implementations
│ └── ui/ # Common UI components
│ ├── components/ # Reusable components
│ ├── theme/ # Application theme
│ └── utils/ # UI utilities
└── features/ # Functional modules
├── auth/ # Authentication module
│ ├── domain/ # Authentication business logic
│ │ └── model/ # Data models for authentication
│ ├── presentation/ # UI for authentication
│ │ ├── login/ # Login screen
│ │ │ ├── components/ # UI components for the login screen
│ │ │ ├── LoginScreen.kt # Login screen
│ │ │ └── LoginViewModel.kt # ViewModel for the login screen
│ │ ├── register/ # Registration screen
│ │ └── resetpassword/ # Password reset screen
│ └── data/ # Data sources for authentication
├── home/ # Home screen
├── profile/ # User profile
├── events/ # Events and meetings
├── messaging/ # Messaging
└── search/ # Search for friends and events

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendTasks related to the backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions