Deployment
Where this lives / Where to access
- API repo: Eliinova/the-one-otc-api (deployed via Laravel Forge)
- Frontend repo:
../easty-otc(sibling to the API repo, deployed via Netlify) - Required access: Laravel Forge (API), Netlify (frontend). Request from the platform owner — see /access for the full list.
| Surface | Local | Staging |
|---|---|---|
| Admin panel | http://localhost:8000/admin | https://stage-api.easyotc.com/admin |
| Storefront | http://localhost:3000 | https://stage.easyotc.com |
| Horizon (queues) | http://localhost:8000/horizon | https://stage-api.easyotc.com/horizon |
EasyOTC uses a modern deployment strategy with separate services for the API and frontend components.
Deployment Architecture
Backend API (Laravel)
- Platform: Laravel Forge
- Server: Ubuntu-based VPS
- Database: MySQL/PostgreSQL
- Cache: Redis
- Queue: Laravel Horizon
- File Storage: AWS S3 or DigitalOcean Spaces
Frontend (Nuxt.js)
- Platform: Netlify
- Build: Static site generation (SSG)
- CDN: Global content delivery network
- Domain: Custom domain with SSL
- Environment: Production environment variables
Benefits
Laravel Forge
- Automated deployment from Git repositories
- Server management with easy scaling
- SSL certificates with Let's Encrypt
- Database backups and monitoring
- Queue management and job monitoring
Netlify
- Fast global deployment with CDN
- Automatic builds on Git pushes
- Preview deployments for pull requests
- Form handling and serverless functions
- Easy rollbacks and version control
Deployment Workflow
- Development: Local development with Docker
- Staging: Automated deployment to staging environment
- Production: Manual deployment to production servers
- Monitoring: Health checks and performance monitoring
Environment Configuration
- API: Environment variables managed through Laravel Forge
- Frontend: Environment variables configured in Netlify dashboard
- Database: Separate databases for staging and production
- File Storage: Production-ready cloud storage configuration
This deployment strategy ensures high availability, fast performance, and easy maintenance for both the API and frontend components of EasyOTC.