Full-stack website Pro Rope Services.
apps/
landing/ Public website and admin (Vinext / React)
backend/ Go REST API and SQLite database
Install dependencies once:
pnpm install --dir apps/landing
cd apps/backend && go mod tidyStart frontend and backend together:
pnpm run devThe frontend runs at http://localhost:3000 and the backend at
http://localhost:8080. Press Ctrl+C to stop both services.
Open http://localhost:3000 and http://localhost:3000/admin.
Development admin: admin@prorope.id / prorope123. Configure strong values for ADMIN_PASSWORD and AUTH_SECRET in production.
Compose menjalankan frontend dan backend pada external Docker network
malabar-trail-run_zenit_net. Buat network tersebut jika belum tersedia:
docker network create malabar-trail-run_zenit_netSiapkan konfigurasi production lalu jalankan aplikasinya:
cp .env.example .env
# Edit URL, password admin, dan AUTH_SECRET di .env terlebih dahulu.
docker compose up -d --buildService frontend dapat diakses oleh reverse proxy sebagai
prorope-frontend:3000, sedangkan backend sebagai prorope-backend:8080.
Compose sengaja tidak mem-publish port ke host karena keduanya diakses melalui
reverse proxy pada network zenit_net.