Commit Graph

12 Commits

Author SHA1 Message Date
3e6c94d77f Usulan Commit Message
fix: Implementasi retry mechanism dan error handling untuk database connections

Deskripsi:

Menambahkan withRetry wrapper pada berbagai API routes untuk menangani transient database errors dan meningkatkan reliabilitas koneksi

Memperbaiki error handling pada notification, authentication, dan user validation endpoints dengan response 503 untuk database connection errors

Update prisma.ts dengan konfigurasi logging yang lebih baik dan datasources configuration

Menambahkan validasi input parameters pada beberapa endpoints

Update dokumentasi QWEN.md dengan commit message format dan comment standards

Update .env.example dengan connection pool settings yang lebih lengkap

File yang diubah:

src/lib/prisma.ts — Konfigurasi Prisma client & logging

src/app/api/admin/notifikasi/count/route.tsx

src/app/api/auth/mobile-login/route.ts

src/app/api/mobile/notification/[id]/route.ts

src/app/api/user-validate/route.ts

Dan 27 file API routes lainnya (penerapan withRetry secara konsisten)

QWEN.md — Dokumentasi commit & comment standards

.env.example — Database connection pool configuration

### No Issue
2026-03-05 14:28:45 +08:00
d68a39066a fix prisma import 2025-02-21 16:13:13 +08:00
f419559379 fix lib
deskripsi:
- pindah lib di dalam app ke src ( lib setara app dan app_modules )
2025-02-12 10:57:10 +08:00
06aac11aa0 fix profile
deskripsi:
- fix api create profile
2025-02-07 17:16:32 +08:00
2a9d170941 fix profile
deskripsi:
- fix edit profile: server action to API
2025-02-07 14:12:49 +08:00
cf9355e91f Fix: Db Profile
Deskripsi:
- Menghapus field imagesId dan imagesBackgroundId
- Menhapus table backgroundImage
- Menghapus component avatar dan header card yang lama
## No Issue
2024-10-03 15:09:38 +08:00
5f4337333a Portofolio
#feat
- Create porto
- Edit Porto
- Upload gambar background profile
- List user
- Search user
## No issuue
2024-01-19 14:16:16 +08:00
2a97165d1f fix
Desc:
- Perubahan pengambilan data dari API ke Function use server
No issue
2023-10-18 16:09:32 +08:00
b49eb321de fix
Desc:
- Perubahan minor
2023-10-06 15:09:59 +08:00
90692d7eff feat
Desc:
- Penambahan api get foto profile
2023-10-04 17:55:56 +08:00
e5aa1e6836 fix
Desc:
- Perubahan minor
No issue
2023-10-04 14:23:35 +08:00
fa4193dcb8 feat
Desc:
- Fitur create profile
2023-10-03 17:47:14 +08:00