Commit Graph

29 Commits

Author SHA1 Message Date
Mohan Ki df8b49f387 feat: allow promoting users to admin role 2026-07-27 16:45:23 +05:30
Mohan Ki dc5ecd4efb fix: use window.location.origin instead of localhost:4001 for frontend display URL 2026-07-27 16:44:48 +05:30
Mohan Ki e6e448a2a9 fix: use FRONTEND_URL environment variable for dynamic qr code URL instead of BASE_URL 2026-07-27 16:41:02 +05:30
Mohan Ki 386071f48d fix: add missing qr_scans table creation to fix 500 error on /api/qr 2026-07-27 16:38:23 +05:30
Mohan Ki 8c17fac692 fix: remove duplicate pgPool and app.listen in server.js which crashed backend 2026-07-27 16:31:40 +05:30
Mohan Ki 69ad9d4820 fix: run auto-migration to add missing name column to qr_codes table on startup 2026-07-27 16:25:34 +05:30
Mohan Ki 2f645ef8f6 chore: add detailed error message for 500 response in generate qr code 2026-07-27 16:24:15 +05:30
Mohan Ki fec82a64db fix: increase express.json limit to 50mb to allow saving QR codes with large custom logos 2026-07-27 16:17:27 +05:30
Mohan Ki 0e379f4e15 fix: add cookie-parser middleware to fix 403 on protected routes, add autocomplete to login 2026-07-27 16:12:02 +05:30
Mohan Ki 5a7b4c7470 feat: add download option for QR codes in create and dashboard pages 2026-07-27 16:09:03 +05:30
Mohan Ki 0ddec84894 feat: sync qr code dot and eye colors, add logo upload support 2026-07-27 16:05:26 +05:30
Mohan Ki 2c16f8999d fix: qr generator preview now shows dynamically generated shortlink instead of destination URL 2026-07-27 16:01:45 +05:30
Mohan Ki 01c74fb29d feat: add next.config rewrites for shortlink routing and show domain in UI 2026-07-27 15:57:40 +05:30
Mohan Ki c6a0a13616 fix: explicit text color for qr editor inputs to fix legibility in light theme 2026-07-27 15:51:00 +05:30
Mohan Ki c3ba7c1be3 fix: change admin role string to enterprise to match frontend logic 2026-07-27 15:19:11 +05:30
Mohan Ki c55ac6225a fix: inject NEXT_PUBLIC_API_URL arg into frontend docker build 2026-07-27 15:16:23 +05:30
Mohan Ki 842dcc1f03 chore: promote mohan.k to admin 2026-07-27 15:13:14 +05:30
Mohan Ki 7de6b1dca5 fix: auto initialize postgres database on startup 2026-07-27 15:07:25 +05:30
Mohan Ki 83193358de fix: mount routes without /api prefix to support Traefik stripping 2026-07-27 15:05:07 +05:30
Mohan Ki e40eb03615 feat: make first registered user an admin 2026-07-27 14:30:44 +05:30
Mohan Ki 1c6dd53b2a Add expose ports so Traefik knows where to route traffic 2026-07-27 14:25:21 +05:30
Mohan Ki 1447f64b42 Remove host port bindings to fix Coolify deployment allocation errors 2026-07-27 14:11:55 +05:30
Mohan Ki 6c27bc094d Fix TypeScript config property for Next.js 16 build 2026-07-27 14:09:33 +05:30
Mohan Ki fc3140c262 Update Dockerfiles to Node 20 for Next.js compatibility 2026-07-27 14:06:26 +05:30
Mohan Ki 5e14c02777 Install recharts for analytics dashboard 2026-07-27 14:04:00 +05:30
Mohan Ki ceb0ec224a Rename docker-compose.yml to .yaml for Coolify compatibility 2026-07-27 14:00:50 +05:30
Mohan Ki b9454df5c9 Update docker config for production deployment 2026-07-27 13:53:10 +05:30
Mohan Ki 40667e54ac Add client code directly 2026-07-27 13:42:31 +05:30
Mohan Ki 60dcb029dc Initial commit of CK-QR Platform 2026-07-27 13:42:18 +05:30