- Backend Node.js/Express con PostgreSQL - Frontend React 19 con Vite - Docker Compose para orquestacion - Documentacion completa en README.md - Scripts SQL para base de datos - Configuracion de ejemplo (.env.example)
11 lines
603 B
JavaScript
11 lines
603 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
const paymentController = require('../controllers/payment.controller');
|
|
|
|
router.post('/newexpmonthly', paymentController.newMonthlyExpense);
|
|
router.get('/refreshmonthly',paymentController.refreshMonthlyExpenses);
|
|
router.put('/paymentstatusmonthly/:id', paymentController.setPaymentStatusMonthly);
|
|
router.put('/updateexpmonthly/:id',paymentController.updateMonthlyExpense);
|
|
router.get('/onemothlyexpense/:id', paymentController.getOneMonthly);
|
|
router.put('/needtorefresh/:id', paymentController.needtorefresh);
|
|
module.exports = router; |