Skip to content

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.
SurfaceLocalStaging
Admin panelhttp://localhost:8000/adminhttps://stage-api.easyotc.com/admin
Storefronthttp://localhost:3000https://stage.easyotc.com
Horizon (queues)http://localhost:8000/horizonhttps://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

  1. Development: Local development with Docker
  2. Staging: Automated deployment to staging environment
  3. Production: Manual deployment to production servers
  4. 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.