- 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
28 lines
618 B
JSON
28 lines
618 B
JSON
{
|
|
"name": "dokumentasi-nasabah-lpd-gerana",
|
|
"version": "1.0.0",
|
|
"description": "Aplikasi dokumentasi nasabah saat penandatanganan perjanjian LPD Gerana",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "nodemon server.js",
|
|
"setup-db": "mysql -u doc -p'doc2026!' < database.sql"
|
|
},
|
|
"keywords": [
|
|
"lpd-gerana",
|
|
"dokumentasi",
|
|
"webcam",
|
|
"mysql"
|
|
],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"mysql2": "^3.6.5",
|
|
"dotenv": "^16.3.1",
|
|
"cors": "^2.8.5"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.0.2"
|
|
}
|
|
} |