Commit Graph

4 Commits

Author SHA1 Message Date
61189ba66b feat: Add IP address and browser tracking
- Add database migration for ip_address and browser_info columns
- Install ua-parser-js for browser detection
- Add IP extraction helper function
- Update POST /api/dokumentasi to capture client IP and browser
- Update GET endpoints to return tracking data
- Display IP and browser info in documentation detail view
- Update server port to 3002

Features:
- Automatic IP address capture from request headers
- Browser and OS detection with version info
- Display in detail modal for each documentation
2026-01-19 13:52:34 +08:00
d259088b71 feat: Add PM2 process manager configuration
- Add ecosystem.config.js with auto-restart settings
- Add PM2 management scripts to package.json
- Create PM2.md documentation
- Update .gitignore to exclude logs
- Create logs directory for PM2 output

Scripts available:
- npm run pm2:start - Start with PM2
- npm run pm2:stop - Stop process
- npm run pm2:restart - Restart process
- npm run pm2:logs - View logs
- npm run pm2:status - Check status
- npm run pm2:monit - Real-time monitoring
2026-01-19 13:43:40 +08:00
b9b255ec79 feat: Integrate MySQL backend and rebrand to LPD Gerana
- Add Node.js Express backend with REST API
- Create database schema and server.js
- Migrate frontend from IndexedDB to MySQL API
- Add environment configuration (.env)
- Rebrand from Koperasi to LPD Gerana
- Update all documentation and UI text
- Add configurable server port setting

Features:
- POST /api/dokumentasi - Create documentation
- GET /api/dokumentasi - Retrieve all (with search)
- GET /api/dokumentasi/:id - Get single record
- DELETE /api/dokumentasi/:id - Delete record
- Full CRUD operations with MySQL persistence
2026-01-19 13:41:01 +08:00
162f8a38a4 Initial commit: Aplikasi Foto Dokumentasi Nasabah Koperasi 2026-01-19 13:06:06 +08:00