Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prorope.id

Full-stack website Pro Rope Services.

Structure

apps/
  landing/   Public website and admin (Vinext / React)
  backend/   Go REST API and SQLite database

Local development

Install dependencies once:

pnpm install --dir apps/landing
cd apps/backend && go mod tidy

Start frontend and backend together:

pnpm run dev

The 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.

Docker Compose

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_net

Siapkan konfigurasi production lalu jalankan aplikasinya:

cp .env.example .env
# Edit URL, password admin, dan AUTH_SECRET di .env terlebih dahulu.
docker compose up -d --build

Service 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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages