Add discount simulator

This commit is contained in:
2025-09-24 21:53:46 -04:00
parent 138251cf86
commit 6e30ba60ff
15 changed files with 1945 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ app.get('/health', (req, res) => {
// Routes
app.use('/api/acot/test', require('./routes/test'));
app.use('/api/acot/events', require('./routes/events'));
app.use('/api/acot/discounts', require('./routes/discounts'));
// Error handling middleware
app.use((err, req, res, next) => {
@@ -95,4 +96,4 @@ const gracefulShutdown = async () => {
process.on('SIGTERM', gracefulShutdown);
process.on('SIGINT', gracefulShutdown);
module.exports = app;
module.exports = app;