Description
Authentication is currently broken on the deployed website.
Signup and login requests fail with:
POST https://github-spy.netlify.app/undefined/api/auth/signup
404 (Not Found)
Users only see a generic "Something went wrong" message on the frontend.
Steps to Reproduce
- Visit https://github-spy.netlify.app/signup
- Fill the signup form
- Submit the form
- Open DevTools → Console tab
Root Cause
VITE_BACKEND_URL is not configured in the Netlify deployment environment.
Both auth pages currently use:
const backendUrl = import.meta.env.VITE_BACKEND_URL;
When the variable is missing, the generated request URL becomes:
undefined/api/auth/signup
Action Required
Configure the following environment variable in the Netlify deployment settings:
VITE_BACKEND_URL=<deployed_backend_url>
Additional Context
A related PR has been prepared which:
- adds frontend and backend
.env.example files
- improves local environment setup guidance
- adds safer fallback handling for missing env variables
Screenshot

Description
Authentication is currently broken on the deployed website.
Signup and login requests fail with:
Users only see a generic "Something went wrong" message on the frontend.
Steps to Reproduce
Root Cause
VITE_BACKEND_URLis not configured in the Netlify deployment environment.Both auth pages currently use:
When the variable is missing, the generated request URL becomes:
Action Required
Configure the following environment variable in the Netlify deployment settings:
Additional Context
A related PR has been prepared which:
.env.examplefilesScreenshot