# Crew Sportswear

A custom sportswear and apparel e-commerce platform built with Laravel.

## Production URL

https://crewsportswear.com

## Requirements

- Docker & Docker Compose
- PHP 7.4+
- MySQL 5.7+
- Composer
- Node.js & NPM

## Installation

1. Clone the repository
2. Copy `.env.example` to `.env` and configure your environment variables
3. Install PHP dependencies:
   ```bash
   composer install
   ```
4. Install Node dependencies:
   ```bash
   npm install
   ```
5. Generate application key:
   ```bash
   php artisan key:generate
   ```
6. Run migrations:
   ```bash
   php artisan migrate
   ```

## Docker Deployment

### Local Development
```bash
docker-compose -f docker-compose.local.yml up -d
```

### Development Environment
```bash
docker-compose -f docker-compose.dev.yml up -d
```

### Production Environment
```bash
docker-compose -f docker-compose.prod.yml up -d
```

The production environment uses Traefik as a reverse proxy with paid SSL certificate for crewsportswear.com.

## Features

- Custom sportswear design interface
- Product catalog and management
- Order processing and tracking
- User authentication and profiles
- Analytics integration
- Email notifications
- reCAPTCHA integration

## Environment Variables

Key environment variables (see `.env.example` for full list):
- `APP_ENV` - Application environment (local, development, production)
- `APP_URL` - Application URL
- `DB_*` - Database configuration
- `MAIL_*` - Mail server configuration
- `ANALYTICS_*` - Google Analytics configuration
- `CAPTCHA_*` - reCAPTCHA keys

## License

Proprietary - All rights reserved
