Skip to content

skniyajali/PoposRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant POS Application

Table of Contents

Project Overview

The Restaurant POS Application is a comprehensive Android solution designed to streamline restaurant operations. From order management to employee tracking, this app covers all aspects of running a modern restaurant efficiently.

Key Features

  1. User Authentication and Account Management

    • Secure login and registration system with email and phone
    • Password recovery and reset functionality
    • User profile management with customizable settings
  2. Order Management System

    • Intuitive interface for creating and modifying orders
    • Real-time order tracking from kitchen to delivery
    • Support for dine-in, takeout, and delivery order types
    • Order history and status updates
    • Integration with kitchen display systems for seamless communication
  3. Product Catalog and Menu Management

    • Comprehensive product listings with detailed descriptions and images
    • Easy-to-use interface for adding, editing, and removing menu items
    • Support for categorization and tagging of products
    • Seasonal menu management and special offers
  4. Advanced Shopping Cart

    • Multiple cart support
    • User-friendly cart system with real-time updates
    • Discount and promotion application
  5. Employee Management Suite

    • Comprehensive staff profiles and role management
    • Time tracking and shift scheduling
    • Performance metrics and goal setting
    • Payroll integration with automatic calculation of wages, taxes, and deductions
    • Employee communication and task assignment tools
  6. Advanced Reporting and Analytics

    • Real-time sales dashboards and financial reports
    • Inventory tracking and low stock alerts
    • Customer behavior analysis and preferences tracking
    • Peak hour and seasonal trend identification
    • Customizable report generation for various business metrics
  7. Integrated Printing System

    • Support for multiple printer types (thermal, laser, etc.)
    • Customizable receipt templates
    • Kitchen order ticket printing
    • Cloud printing capabilities for remote management
    • Automatic reprinting for lost tickets
  8. Offline Mode and Data Synchronization

    • Core functionalities available without internet connection
    • Automatic data synchronization when connection is restored
    • Conflict resolution for offline changes
    • Local data encryption for security
  9. Customer Relationship Management (CRM)

    • Customer profiles with order history and preferences
    • Loyalty program integration with points and rewards
    • Automated email and SMS marketing campaigns
    • Feedback collection and management system
    • Birthday and anniversary tracking for personalized offers
  10. Analytics and Business Intelligence

    • Advanced data visualization tools and interactive charts
    • Predictive analytics for inventory and staffing needs
    • Customizable KPI tracking and goal setting
    • Competitive analysis tools for market positioning
    • Export capabilities for further analysis in external tools

These expanded feature descriptions provide a more comprehensive view of the Restaurant POS Application's capabilities, highlighting its robust and versatile nature in managing various aspects of restaurant operations.

Technology Stack

  • Languages: Kotlin, Java
  • Build System: Gradle
  • UI Framework: Jetpack Compose
  • Dependency Injection: Hilt
  • Database: Room
  • Asynchronous Programming: Coroutines, Flow
  • Testing: JUnit, Espresso, Robolectric, Roborazzi
  • Logging: Timber
  • Analytics and Crash Reporting: Firebase, Sentry
  • Code Quality: Detekt, KtLint, Android Lint

Architecture

The application follows a modular, clean architecture approach:

  • Presentation Layer: MVVM pattern with Jetpack Compose for UI
  • Domain Layer: Use cases and business logic
  • Data Layer: Repositories and data sources
  • DI: Hilt for dependency injection across modules

Feature Modules

The application is divided into the following feature modules, each responsible for a specific set of functionalities:

  1. Account

    • Manages user authentication and profile information
    • Handles login, registration, and password recovery processes
    • Manages user preferences and settings
  2. Cart

    • Manages the shopping cart functionality
    • Handles adding, removing, and updating items in the cart
    • Calculates subtotals, taxes, and discounts
    • Supports item customization and special instructions
    • Provides real-time updates on cart contents and total
  3. Order

    • Manages the entire order lifecycle from creation to fulfillment
    • Handles different order types (dine-in, dine-out)
    • Implements order tracking and status updates
    • Manages order history and allows for easy reordering
    • Integrates with the kitchen display system for order preparation
  4. Product

    • Manages the product catalog and menu items
    • Handles product categorization and tagging
    • Manages product variations and customization options
    • Implements search and filtering functionality
    • Handles product availability and inventory integration
  5. Addon Item

    • Manages additional items that can be added to products
    • Handles pricing for add-ons and their impact on the total order
    • Implements rules for add-on compatibility with different products
    • Manages add-on categories and groupings
  6. Address

    • Manages customer delivery addresses
    • Handles address validation and formatting
    • Integrates with mapping services for location accuracy
    • Manages multiple addresses per user
    • Handles default address selection
  7. Cart Order

    • Manages the transition from cart to confirmed order
    • Handles order summary generation
    • Implements order confirmation and receipt generation
    • Handles order cancellation and modification requests
  8. Category

    • Manages product categories and subcategories
    • Handles category hierarchy and relationships
    • Implements category-based product filtering and sorting
    • Manages category visibility and seasonal categories
    • Handles category-specific promotions and discounts
  9. Charges

    • Manages additional charges such as taxes, service fees, and delivery fees
    • Implements dynamic charge calculation based on order details
    • Manages special charges for specific products or categories
    • Implements charge overrides and exemptions
  10. Customer

    • Manages customer profiles and information
    • Handles customer segmentation and grouping
    • Implements loyalty program functionality
    • Manages customer preferences and dietary restrictions
    • Handles customer feedback and ratings
  11. Employee

    • Manages employee information and accounts
    • Handles role assignment and permissions
    • Implements employee scheduling and shift management
    • Manages employee performance metrics
    • Handles employee communications and task assignments
  12. Employee Payment

    • Manages employee payroll and compensation
    • Handles salary calculations, including taxes and deductions
    • Implements tip distribution and reporting
    • Manages payment schedules and direct deposit information
  13. Employee Absent

    • Manages employee attendance and leave tracking
    • Handles leave requests and approvals
    • Implements absence reporting and documentation
    • Manages different types of leave (sick, vacation, personal)
    • Integrates with scheduling to manage coverage for absent employees
  14. Expenses

    • Manages business expense tracking and categorization
    • Handles expense report generation and approval workflows
    • Implements budget tracking and variance analysis
    • Manages receipt capture and storage
    • Integrates with accounting systems for financial reporting
  15. Home

    • Provides the main dashboard and application entry point
    • Displays key metrics and notifications
    • Implements quick access to frequently used features
    • Manages user-specific dashboard customization
    • Handles real-time updates of critical information
  16. Print Order

    • Manages order printing functionality
    • Implements printer management and configuration
    • Handles print queue management and error handling
  17. Profile

    • Manages user profile information and settings
    • Handles profile picture management
    • Implements notification preferences
  18. Cart Selected

    • Manages selected items within the cart for bulk actions
    • Implements multi-item operations (delete, move, duplicate)
    • Handles quantity updates for selected items
    • Manages application of discounts or promotions to selected items
    • Implements undo/redo functionality for bulk actions
  19. Settings

    • Manages application-wide settings and configurations
    • Handles language and localization settings
    • Implements theme and display preferences
    • Manages integration settings for third-party services
    • Handles system maintenance and update management
  20. Printer Info

    • Manages printer configurations and status information
    • Handles printer discovery and setup
    • Implements printer status monitoring and error reporting
    • Manages printer groups for specific order types or locations
    • Handles print job history and reprint functionality
  21. Reports

    • Manages generation of various business reports
    • Implements customizable report templates
    • Handles data aggregation and analysis for reporting
    • Manages scheduling and distribution of automated reports
    • Implements export functionality in various formats (PDF, CSV, Excel)
  22. Chart

    • Manages data visualization and charting functionality
    • Implements various chart types (bar, line, pie, etc.)
    • Handles real-time data updates for live charts
    • Manages chart customization and styling options
    • Implements interactive features like zooming and data point inspection
  23. Market

    • Manages marketplace functionality for multi-vendor scenarios
    • Handles vendor onboarding and management
    • Implements commission calculations and payouts
    • Manages vendor ratings and reviews
    • Handles cross-vendor order fulfillment and tracking
  24. Printer

    • Manages printer operations and maintenance
    • Handles print job creation and queuing
    • Implements printer-specific formatting and layout
    • Handles printer troubleshooting and diagnostic tools

Each module is designed to be self-contained yet able to communicate with other modules as needed, promoting a modular and maintainable architecture. This structure allows for easier testing, updating, and scaling of individual components of the application.

Getting Started

To get started with the project:

  1. Clone the repository:
    git clone https://github.com/skniyajali/PoposRoom.git
    
  2. Open the project in Android Studio
  3. Sync the project with Gradle files
  4. Set up your local.properties file with necessary API keys

Build and Deploy

The project uses Gradle for building and deployment:

  • Debug Build: ./gradlew assembleDebug
  • Release Build: ./gradlew assembleRelease
  • Run Tests: ./gradlew test
  • Deploy to Firebase: ./gradlew appDistributionUploadRelease

Testing

The project emphasizes thorough testing:

  • Unit Tests: JUnit for logic and ViewModel testing
  • UI Tests: Espresso and Compose UI Testing
  • Integration Tests: End-to-end testing of feature flows
  • Screenshot Tests: Roborazzi for UI regression testing

Run all tests with: ./gradlew test

Code Quality

We maintain high code quality standards using:

  • Detekt: Static code analysis for Kotlin
  • KtLint: Kotlin linter and formatter
  • Android Lint: Custom lint rules for Android-specific checks

Run quality checks with: ./gradlew check

Continuous Integration

The project uses GitHub Actions for CI/CD:

  • Automated builds and tests on pull requests
  • Code quality checks
  • Weekly Beta Release
  • Monthly Production Release
  • Automated deployment to Amazon App Distribution
  • Automated deployment to Sentry
  • Deployment to Firebase App Distribution for beta testing

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

Please ensure your code adheres to our coding standards and is well-tested.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Screenshots

1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18
19 20 21
22 23 24
25 26