A client/server architecture web application with independent Laravel backend and React frontend, containerized for development.
Backend:
- Laravel 12 (PHP 8.2+)
- SQLite database
- Laravel Octane for performance
Frontend:
- React 19
- TypeScript
- Vite with Rolldown bundler
- Bun package manager
Infrastructure:
-
Clone and start services:
git clone <repository-url> cd project-pod just up
-
Install local dependencies (for IDE/LSP support):
cd backend && composer install cd ../frontend && bun install
-
Access the applications:
- Backend API: http://localhost:8000
- Frontend: http://localhost:3000
just up- Start all servicesjust down- Stop all servicesjust restart- Restart servicesjust rebuild- Rebuild and start servicesjust logs- View container logs
just artisan <command>- Run Laravel Artisan commandsjust artisan migrate- Run database migrationsjust resetdb- Fresh database migrationjust test- Run Laravel tests
just frontend <command>- Run commands in frontend containerjust frontend bun install- Install new packages
The development environment uses full directory mounting, meaning:
- Live code editing: Changes are reflected immediately
- New files auto-included: No need to update Docker configuration
- OS compatibility:
vendor/andnode_modules/are container-specific to ensure OS compatibility - Clean setup: Clone, install dependencies (optional), run
just up, start coding
- Backend: Copy
backend/.env.exampletobackend/.env - Database: SQLite file auto-created at
./data/database.sqlite - Ports: Backend (8000), Frontend (3000)