Installation - run following commands:
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php81-composer:latest \
sudo mkdir -p /var/www/html/vendor && \
composer install --ignore-platform-reqs./vendor/bin/sail upSwagger ERP is a Laravel-based API providing endpoints for authentication, referrals, tasks, billing, and therapist visit flows. Interactive API documentation is available via L5 Swagger.
- Laravel 9 (PHP 8.1)
- PostgreSQL
- Docker + Laravel Sail
- L5 Swagger for API docs
- AWS CDK (TypeScript) in
cdk/
- Docker and Docker Compose installed
- Node.js (only if working with
cdk/)
cp .env.example .env
./vendor/bin/sail artisan key:generate./vendor/bin/sail artisan migrate --seed- Open
http://localhost/api/documentation
./vendor/bin/sail test./vendor/bin/pintapp/application code (controllers, models, components)config/configuration (app, database, services)routes/route definitions (web.phpredirects to API docs)resources/views, emails, and assetsdatabase/migrations and seederscdk/AWS CDK infrastructure (staging configuration)
From cdk/ directory:
npm install
npm run build
npm run cdk synth