This is a demo web application for online auctions. The development environment is fully containerized using Docker and Laravel Sail.
- High-Performance Backend: Laravel 12 on Octane (with RoadRunner).
- Robust Queue Processing: Laravel Horizon managing background jobs.
- Advanced Search: Laravel Scout powering full-text search with Meilisearch.
- Insightful Monitoring: Real-time application metrics with Prometheus & Grafana.
- Modern Frontend: A reactive UI with Vue 3, Inertia.js, Vite, TypeScript.
- Seamless Development: A fully containerized environment with Docker and Laravel Sail.
- Database: PostgreSQL 16
- Cache & Queues: Redis, Horizon
- Email: Mailpit
-
Prepare the environment file.
cp .env.example .env
-
Install PHP dependencies.
composer install
-
Generate the application key.
sail artisan key:generate
-
Build and start the application containers.
sail build sail up -d
-
Install frontend dependencies.
sail yarn install
-
Run database migrations and seed initial data.
sail artisan migrate --seed
-
Build the initial search index.
sail artisan search:reindex
-
Start the frontend development server.
sail yarn dev
- Application: http://localhost
- Filament Admin Panel: http://localhost/admin
- Horizon Dashboard: http://localhost/horizon
- Meilisearch Dashboard: http://localhost:7700
- Mailpit (Email Client): http://localhost:8025
- Grafana Dashboards: http://localhost:3000 (user:
test@example.com, pass:password) - Prometheus Targets: http://localhost:9090
- Log Viewer: http://localhost/log-viewer
- Laravel Telescope: http://localhost/telescope
sail artisan ide-helper:generate
sail artisan ide-helper:models -RW
sail artisan ide-helper:meta- Pint: Fix code style issues.
sail pint
- PHPStan: Run static analysis to find potential bugs.
sail phpstan analyse
- ESLint & Prettier: Lint and format frontend code.
sail yarn lint sail yarn format
sail artisan test --coverage --parallel