Skip to content

KING-CYBERTON/sqlpos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLPOS - Point of Sale System

A Flutter-based Point of Sale (POS) system with MySQL database integration for restaurant and retail management.

Features

  • Point of Sale Interface: Complete POS system for restaurants and retail
  • Database Integration: MySQL database connectivity for data persistence
  • User Authentication: Login system with role-based access
  • Inventory Management: Product and category management
  • Sales Tracking: Order processing and sales analytics
  • PDF Generation: Receipt and report generation
  • Responsive Design: Optimized for different screen sizes
  • Charts & Analytics: Sales data visualization with FL Chart

Project Structure

lib/
├── constants/           # Application constants
│   ├── Appconstants.dart
│   ├── colors_n_styles_constants.dart
│   ├── image_paths_constants.dart
│   ├── route_names_constants.dart
│   ├── sizes_constants.dart
│   ├── text_constants.dart
│   └── text_styles_constants.dart
├── Controllers/         # State management controllers
│   ├── AuthController.dart
│   └── CartController.dart
├── Datamodels/         # Data model classes
│   ├── ActualOrderModel.dart
│   ├── category.dart
│   ├── customer.dart
│   ├── employee.dart
│   ├── inventorylog.dart
│   ├── product.dart
│   ├── roles.dart
│   ├── sale.dart
│   ├── saleitem.dart
│   └── userrole.dart
├── Sales/              # POS and sales interface
│   ├── CustomText.dart
│   ├── login_page.dart
│   ├── pos.dart
│   ├── restaurant.dart
│   ├── restaurantfinal.dart
│   ├── RestrantPos.dart
│   └── unfoldableseachbar.dart
├── main.dart           # Application entry point
├── mysql.dart          # Database connection and queries
└── test.dart           # Testing utilities

Dependencies

  • flutter: UI framework
  • mysql1: MySQL database connectivity
  • get: State management and navigation
  • http: HTTP requests
  • pdf: PDF document generation
  • path_provider: File system access
  • open_file: File opening functionality
  • printing: PDF printing capabilities
  • fl_chart: Charts and data visualization
  • intl: Internationalization support
  • responsive_framework: Responsive UI design
  • window_manager: Window management for desktop

Getting Started

Prerequisites

  • Flutter SDK (>=3.4.4)
  • MySQL database server
  • Dart SDK

Installation

  1. Clone the repository

  2. Install dependencies:

    flutter pub get
  3. Configure MySQL database connection in lib/mysql.dart

  4. Run the application:

    flutter run

Database Setup

Ensure your MySQL database is properly configured and accessible. Update the connection parameters in lib/mysql.dart to match your database configuration.

Assets

  • assets/images/logo.png - Application logo

Development

This project uses:

  • GetX for state management and navigation
  • MySQL1 for database operations
  • Material Design components
  • Responsive Framework for adaptive layouts

Version

Current version: 0.1.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors