d339f41cedbb913f0ddc0fdcab2fc2b04fbff2e4
Docker Build and Push / build-and-push (push) Successful in 6m55s
Ristek Task Frontend
📄 Catatan Deployment: Cara deployment menggunakan Docker Compose sudah disertakan di dalam submisi PDF.
Prasyarat
Pastikan sudah terinstall:
- Node.js 20+ (disarankan versi 24)
- npm
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 |
Description
Languages
TypeScript
94%
CSS
5.4%
Dockerfile
0.6%