{"message":"TabsAndPay API Server is running!","project":"TabsAndPay","port":"4321","timestamp":"2026-04-23T13:37:47.686Z","endpoints":{"users_list":"/api/users - GET all users","user_register":"/api/users/register - POST register user/agent (with optional image)","user_status":"/api/users/:userId/status - PUT update user block status & agent mode","admin_register":"/api/admin/register - POST register admin","admin_login":"/api/admin/login - POST login admin (returns JWT)","admin_list":"/api/admin - GET all admins","exchangerate_get":"/api/exchangerate - GET current exchange rate","exchangerate_upsert":"/api/exchangerate - POST/PUT create or update exchange rate","notifications_list":"/api/notifications - GET all notifications","notification_create":"/api/notifications - POST create notification (with optional image)","notification_by_role":"/api/notifications/role/:userRole - GET notifications by user role","notification_get":"/api/notifications/:id - GET notification by ID","notification_update":"/api/notifications/:id - PUT update notification","notification_delete":"/api/notifications/:id - DELETE notification","push_notifications_list":"/api/push-notifications - GET all push notifications","push_notification_create":"/api/push-notifications - POST create push notification (with optional image)","push_notification_get":"/api/push-notifications/:id - GET push notification by ID","push_notification_update":"/api/push-notifications/:id - PUT update push notification","push_notification_publish":"/api/push-notifications/:id/publish - POST publish push notification","push_notification_delete":"/api/push-notifications/:id - DELETE push notification","health":"/health - Health check"},"collections":["users","admins","exchangerate","notifications","pushNotifications"],"admin_schema":{"username":"string (required)","password":"string (required, bcrypt hashed)","permission":"enum: \"global\" | \"domestic\" (required)"},"exchangerate_schema":{"uTabs":"number (required, can be decimal like 0.5)","aTabs":"number (required, can be decimal like 0.5)"},"user_schema":{"name":"string (required)","email":"string (required)","phoneNumber":"string (required)","countryCode":"string (required)","country":"string (required)","userPin":"string (required, 4-6 digits)","isAgent":"boolean (optional, default: false)","profileImage":"file (optional, image upload)"},"authentication":"JWT tokens for admin login","architecture":"MVC (Model-View-Controller)","cors":"Enabled for all origins - Flutter ready!"}