FriendAway is a modern social networking web application for immigrants, international students, expats, and digital nomads living abroad.
- Next.js App Router project structure
- TailwindCSS SaaS-style UI
- Supabase client/server setup
- Auth server actions for login and signup
- Onboarding and editable profile flows
- Location-first feed, communities, discover, messages, and profile screens
- PostgreSQL schema and RLS starter policies
- Terminal scripts for setup, checks, and local development
app/components/lib/hooks/pages/styles/backend/database/docs/prompts/scripts/
Persistent repo instructions live in AGENTS.md.
Planning and execution docs:
Prompt packs:
prompts/00_master_prompt.mdprompts/01_auth.mdprompts/02_schema.mdprompts/03_profiles.mdprompts/04_feed.mdprompts/05_communities.mdprompts/06_messages.mdprompts/07_discover.mdprompts/08_ui_polish.md
Helper scripts:
scripts/bootstrap.shscripts/setup.shscripts/check.shscripts/clean.shscripts/dev.shscripts/run_all.shscripts/finalize.shscripts/finalize_and_run.shscripts/deploy_prep.shscripts/finalize_production.shscripts/offline_brain.shscripts/offline_master.shscripts/offline_phase_0.shscripts/offline_phase_1.shscripts/offline_phase_2.shscripts/offline_phase_3.shscripts/offline_phase_4.shscripts/offline_phase_5.shscripts/codex_phase_1.shscripts/codex_phase_2.shscripts/codex_phase_3.sh
chmod +x ./scripts/*.sh
./scripts/setup.sh
./scripts/clean.sh
./scripts/check.sh
./scripts/dev.shOr run the full local flow in one command:
./scripts/run_all.shFor a final verification pass:
./scripts/finalize.shTo finalize and immediately start the app:
./scripts/finalize_and_run.shTo run a full pre-deploy pass before Vercel:
./scripts/deploy_prep.shFor strict production finalization (preview off + env checks + tests + build):
./scripts/finalize_production.shFor the full offline build checklist and step order:
./scripts/offline_master.shTo print the reasoning checklist only:
./scripts/offline_brain.sh