Commit Graph

  • 438bb4c8a3 Add roundStartsAt property to Table class and update state management main b3ni15 2025-12-21 02:54:09 +01:00
  • 97ed3c4d9e Add promo code functionality to deposits and enhance wallet routes b3ni15 2025-12-21 00:41:39 +01:00
  • 3861b4477d Update deposit intent to log stripeAmount and use it for payment creation b3ni15 2025-12-21 00:32:36 +01:00
  • 0fe2781a11 Add logging for Stripe deposit requests and round amount input b3ni15 2025-12-21 00:29:33 +01:00
  • be7b0c48e3 Refactor MIN_DEPOSIT calculation to ensure it respects environment variable settings b3ni15 2025-12-21 00:24:56 +01:00
  • 3331c31d22 Update wallet route to use environment variables for deposit limits b3ni15 2025-12-21 00:21:06 +01:00
  • 20efdb5dc2 Add ensureStripeConfigured function and improve error handling in wallet routes b3ni15 2025-12-21 00:16:56 +01:00
  • 50a1631222 Ensure dotenv is imported for environment variable configuration b3ni15 2025-12-21 00:10:42 +01:00
  • d67c8b5ac1 Add logging for database connection status and host b3ni15 2025-12-21 00:09:28 +01:00
  • 683eabecdd Remove redundant dotenv import from index.js b3ni15 2025-12-21 00:08:42 +01:00
  • 16cba64d03 Refactor code structure for improved readability and maintainability b3ni15 2025-12-21 00:08:25 +01:00
  • 89ef1d6e8b Add logging for SQL execution and database host in query function b3ni15 2025-12-21 00:06:23 +01:00
  • 927a1b75c6 Refactor dotenv configuration to load environment variables from multiple candidates; add error handling for missing DB_HOST b3ni15 2025-12-21 00:04:02 +01:00
  • 0aa2ae1637 Update dotenv configuration to specify environment file path b3ni15 2025-12-21 00:01:41 +01:00
  • f638c4709b Refactor database connection logic; ensure DB is connected before starting the server b3ni15 2025-12-21 00:00:46 +01:00
  • e97cede55c Improve error handling in Discord auth callback; return JSON error response in non-production environments b3ni15 2025-12-20 23:48:34 +01:00
  • 6e0a97df53 Add turn timer functionality to Table class; update environment configuration b3ni15 2025-12-20 23:33:55 +01:00
  • f10714b2c8 Remove Stripe integration and related routes; update wallet routes for payment intent confirmation b3ni15 2025-12-20 23:14:59 +01:00
  • fcbe008a5c Refactor betting logic and add error handling in Table class; implement async turn advancement b3ni15 2025-12-20 23:10:03 +01:00
  • 32db9278e4 Update MAX_BET value to 500 in .env.example b3ni15 2025-12-20 23:03:44 +01:00
  • b673f6fcb3 Implement backend for blackjack game with Discord authentication, database integration, and WebSocket support b3ni15 2025-12-20 23:02:19 +01:00