Backend crashes on local setup after running npm run dev.
While setting up the project locally, the backend crashes immediately without showing a detailed error message. The issue appears to be related to the MongoDB connection configuration:
MONGO_URI=mongodb://localhost:27017/codesync
Currently:
- MongoDB setup steps are not clearly documented,
- backend crashes silently,
- frontend authentication/login also fails because backend is unavailable.
Suggested improvements:
- add proper MongoDB setup instructions in README,
- improve backend startup error logging,
- validate required environment variables before server startup.
I would like to work on improving the setup experience and backend error handling for contributors. Kindly assign this issue to me under GSSoC.
Backend crashes on local setup after running
npm run dev.While setting up the project locally, the backend crashes immediately without showing a detailed error message. The issue appears to be related to the MongoDB connection configuration:
MONGO_URI=mongodb://localhost:27017/codesyncCurrently:
Suggested improvements:
I would like to work on improving the setup experience and backend error handling for contributors. Kindly assign this issue to me under GSSoC.