### IMPORTANT

////////////////////////DELETE IF THERE IS SEPARATE SUPER ADMIN SYSTEM..////////////////////////
//currently used for development purposes only
// if there is a separate super admin system, this should be removed
const superAdminRoutes = require('./routes/super-admin');
app.use('/api/v1/super-admin', cors, rateLimiter, superAdminRoutes);
////////////////////////DELETE IF THERE IS SEPARATE SUPER ADMIN SYSTEM..////////////////////////

### TEST ROUTES/CONTROLLERS

///TESTT SUPERADMIN
router.get('/', getTickets);
router.post('/', [body('ticketNo').notEmpty(), validation], memberAuth, createTicket);
///TESTT SUPERADMIN

### TO DO

event registartion email
purchase product email

###

USE_EXTERNAL_FILE_SERVER=true
FILE_SERVER_URL=http://localhost:3000

IF USING EXTERNAL SERVER

- FRONT END WILL PASS FILES TO THE FIRST SERVER THEN PASS HERE AS FILE NAMES
- IT WILL BE TEMPORARILY SAVED TO `FILE-UPLOADS` THAT HAS CLEAN UP
- IF THE MAIN BACKEND RECEIVE THE FILE NAMES IT WILL REQUEST MOVE FILES TO CORRECT DESTINATION TO FILE SERVER
- SAME WITH DELETE THE BACKEND WILL REQUEST TO DELETE AT THE FILE SERVER
