Download Center
๐Ÿš€ Backend Download Center
Click any section in the sidebar โ€” expand files, copy code, save locally

โœ… Already Done

โœ“Supabase splurjj-prod โ€” 13 tables, RLS policies, seed data loaded
โœ“IAM role splurjj-lambda-role (account 381492310148)
โœ“24 Lambda functions written โ€” keys pre-filled
โœ“JWT secret generated and baked into scripts

โšก What To Do Next

1Click each sidebar section โ†’ expand a file โ†’ hit Copy โ†’ paste into matching file on your machine
2Create folders: lambda/shared/  lambda/auth/  lambda/articles/  etc.
3Run: cd lambda && npm install --production
4Deploy: chmod +x deploy.sh && ./deploy.sh
5Push env vars: chmod +x set-env.sh && ./set-env.sh
6Set up API Gateway โ€” 25 routes, then swap API_BASE in js/api.js
๐Ÿ—„๏ธ Supabase SQL
Run in order in Supabase SQL Editor โ€” already done โœ…
๐Ÿ”ง Shared Helpers
Save to lambda/shared/
โš™๏ธ Config & Scripts
Save to lambda/ root folder
๐Ÿ” Auth Functions
Save to lambda/auth/
๐Ÿ“ฐ Articles Functions
Save to lambda/articles/
๐ŸŽฏ Goals Functions
Save to lambda/goals/
๐Ÿ‘ฅ Users Functions
Save to lambda/users/
๐Ÿ’ฌ Comments Functions
Save to lambda/comments/
๐Ÿ”” Notifications Functions
Save to lambda/notifications/
๐Ÿ“Š Analytics Functions
Save to lambda/analytics/
โœ“ Copied!