/submit, /my-list, and /onboarding return 500 when Supabase isn't configured
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- next.js, node.js, supabase, typescript
- Domain
- authentication, backend
Research direction
Start with the /submit, /my-list, and /onboarding page entry points and compare how they create a Supabase client with the mock-data fallbacks used elsewhere. Check the behavior after #124 for reference. Done means these routes show a clear message when Supabase credentials are absent, while retaining their current behavior with credentials; verify both cases using the reproduction steps in the issue.
Written by the indexing model from the issue text.
Description
Route
/submit, /my-list, /onboarding
Steps to reproduce
- Fresh checkout of
main, no.env.local(this is how CONTRIBUTING.md suggests trying the app before setting up Supabase). pnpm dev- Open
/submit,/my-list, or/onboarding.
Actual behavior
Each page returns 500 with Your project's URL and Key are required to create a Supabase client!. The pages create a Supabase client while rendering. Everything else falls back to mock data without credentials: the directory, deadlines, the API routes, and after #124 the proxy and /admin.
Expected behavior
Without Supabase configured, these pages render a clear message that sign-in isn't available in this environment, instead of crashing. Behavior with credentials stays the same.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 6
- Avg merge
- 22h 9m
- Merged PRs (30d)
- 42
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Your-Voldemort/StudentStack
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Your-Voldemort/StudentStack#126 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Your-Voldemort/StudentStack#120 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Your-Voldemort/StudentStack#119 ·
Maintainers usually reply within 1 day
-
Past deadlines labelled "today"; search placeholder ignores eligibility filterPossibly taken @Aryan-Techie claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Your-Voldemort/StudentStack#118 · 1 comment ·
Maintainers usually reply within 1 day
-
Dialogs render with the light theme on dark pagesPossibly taken @Aryan-Techie claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Your-Voldemort/StudentStack#117 · 1 comment ·
Maintainers usually reply within 1 day
All issues in Your-Voldemort/StudentStack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
maniator/verticopolis#1303 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
components-web-app/docs#297 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
appwrite/mcp-for-docs#23 · 1 comment ·
-
`@vanilla-extract/turbopack-plugin`: "getImageSize is not a function" with Next.js 16.4.x when a `.css.ts` file imports an imagePossibly taken @aevarOrigo claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vanilla-extract-css/vanilla-extract#1799 · 1 comment ·
-
native
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
prime-radiant-inc/evener#4839 ·
Maintainers usually reply within 1 day