Skip to content

a1lan1/online-auction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Auction

This is a demo web application for online auctions. The development environment is fully containerized using Docker and Laravel Sail.

Tech Stack

  • 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

Getting Started

  1. Prepare the environment file.

    cp .env.example .env
  2. Install PHP dependencies.

    composer install
  3. Generate the application key.

    sail artisan key:generate
  4. Build and start the application containers.

    sail build
    sail up -d
  5. Install frontend dependencies.

    sail yarn install
  6. Run database migrations and seed initial data.

    sail artisan migrate --seed
  7. Build the initial search index.

    sail artisan search:reindex
  8. Start the frontend development server.

    sail yarn dev

Available Services

Development Workflow

IDE Helper

sail artisan ide-helper:generate
sail artisan ide-helper:models -RW
sail artisan ide-helper:meta

Code Quality & Linting

  • 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

Testing

sail artisan test --coverage --parallel

About

Demo Online Auction

Resources

Stars

Watchers

Forks

Contributors