Commit inicial - Sistema de Gestion Hotelera Hacienda San Angel
- 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)
This commit is contained in:
14
backend/hotel_hacienda/src/routes/hotelpl.routes.js
Normal file
14
backend/hotel_hacienda/src/routes/hotelpl.routes.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
const hotelControllers = require('../controllers/hotelp.controller');
|
||||
|
||||
router.post('/cogs', hotelControllers.cogs);
|
||||
router.post('/ebitda', hotelControllers.ebitda);
|
||||
router.post('/employeeshare', hotelControllers.employeeshare);
|
||||
router.post('/grossprofit', hotelControllers.grossprofit);
|
||||
router.post('/tips', hotelControllers.tips);
|
||||
router.post('/totalrevenue', hotelControllers.totalrevenue);
|
||||
router.post('/weightedCategoriesCost', hotelControllers.weightedCategoriesCost);
|
||||
|
||||
|
||||
module.exports = router;
|
||||
Reference in New Issue
Block a user