# App Store Laravel Project

A Laravel-based application store for Android, PC, and iOS apps.

## Features

- Public storefront with responsive app grid
- Real-time download counter for each app
- Admin panel to upload and manage apps
- Category management for Android, PC, and iOS
- Simple admin login using environment credentials

## Setup

1. Install dependencies:
   ```bash
   cd App-Store
   composer install
   ```
2. Copy environment file and generate key:
   ```bash
   cp .env.example .env
   php artisan key:generate
   ```
   *Note: Update `APP_URL` in `.env` to match your local development URL (e.g., `http://localhost/App-Store/public` if using XAMPP).*
3. Create the SQLite database file if not already created:
   ```bash
   touch database/database.sqlite
   ```
4. Run migrations and seed categories:
   ```bash
   php artisan migrate --seed
   ```
5. Create storage symlink (IMPORTANT for icons):
   ```bash
   # 1. First, delete the existing public/storage folder if it exists
   # 2. Open your terminal as ADMINISTRATOR
   # 3. Run:
   C:\xampp\php\php.exe artisan storage:link
   ```
6. Start the development server:
   ```bash
   php artisan serve
   ```

## Admin login

Use the admin credentials configured in `.env`:

- Email: `admin@example.com`
- Password: `Password123!`
