- REST API Endpoint: Backend Moneo
- API Documentation: Figma Documentation
- Clone the Repository:
git clone https://github.com/CH2-PS188/CC_backend.git
- Navigate to the Project Directory:
cd CC_backend
- Install Dependencies:
npm install
- Database Setup (if applicable): Include instructions for database setup, migrations, and seed data.
- Run the Application:
npm start
- Method:
POST
- Path:
/:id_account/rekening
- Handler:
addRekening
- Method:
GET
- Path:
/:id_account/rekening
- Handler:
getAllRekening
- Method:
GET
- Path:
/:id_account/rekening/:id
- Handler:
getRekeningById
- Method:
PUT
- Path:
/:id_account/rekening/:id
- Handler:
editRekeningById
- Method:
DELETE
- Path:
/:id_account/rekening/:id
- Handler:
deleteRekeningById
- Method:
POST
- Path:
/:id_account/transaksi/pemasukan
- Handler:
addTransaksi
- Method:
POST
- Path:
/:id_account/transaksi/pengeluaran
- Handler:
addTransaksi
- Method:
GET
- Path:
/:id_account/transaksi
- Handler:
getAllTransaksi
- Method:
GET
- Path:
/:id_account/transaksi/:id
- Handler:
getTransaksiById
- Method:
PUT
- Path:
/:id_account/transaksi/:id
- Handler:
updateTransaksiById
- Method:
DELETE
- Path:
/:id_account/transaksi/:id
- Handler:
deleteTransaksiById
- Method:
GET
- Path:
/:id_account/laporan
- Handler:
getAllLaporan
- Method:
GET
- Path:
/:id_account/detaillaporan
- Handler:
getDetailLaporan