# Mobile Shop + Unlock Service SaaS Platform Setup

## Overview
This is a simple SaaS platform for mobile shops in Nepal. Each shop has its own account and data using business_id for multi-tenancy.

## Features
- Stock management
- Sales with profit calculation
- Repair/Unlock services
- Second-hand purchases
- Unlock order management
- Manual payment system
- Subscription plans (Free/Basic/Premium)
- Mobile-first UI

## Installation

1. Clone the repository
2. Run `composer install`
3. Run `npm install`
4. Copy `.env.example` to `.env` and configure database
5. Run migrations: `php artisan migrate`
6. Seed data: `php artisan db:seed`
7. Build assets: `npm run build`
8. Start server: `php artisan serve`

## Database Tables
- users: Admin users
- businesses: Shop accounts
- products: Stock items
- sales: Sales transactions
- repairs: Repair records
- second_hand: Second-hand purchases
- unlock_orders: Unlock service orders
- payments: Payment records
- subscriptions: Subscription plans

## Usage
- Admin: Manage all shops, orders, payments, subscriptions
- Shop User: Manage their shop's stock, sales, repairs, orders

## Notes
- Mobile-optimized interface
- Simple and fast
- No complex features as requested