Files
ristek-task-fe/README.md
T
bagas 2741420358
Docker Build and Push / build-and-push (push) Successful in 6m38s
update: Readme to include setup instruction
2026-02-26 11:16:33 +07:00

1.2 KiB

Ristek Task Frontend

📄 Catatan Deployment: Cara deployment menggunakan Docker Compose sudah disertakan di dalam submisi PDF.


Prasyarat

Pastikan sudah terinstall:


Cara Menjalankan Secara Lokal

⚠️ Perhatian Pastikan applikasi backend sudah berjalan dan dapat di akses.

1. Clone Repository

git clone https://github.com/fossyy/ristek-task-fe
cd ristek-task-fe

2. Konfigurasi Environment

Buat file .env di root project:

VITE_API_BASE_URL=http://localhost:8080

3. Install Dependencies

npm install

4. Jalankan Aplikasi (Development)

npm run dev

Aplikasi akan berjalan di http://localhost:5173.

5. Build & Jalankan Production

npm run build
npm run start

Aplikasi production berjalan di http://localhost:3000.


Environment Variables

Variable Wajib Default Keterangan
VITE_API_BASE_URL URL backend API