Skip to content

Backend crash #8

@monishakhare37-hash

Description

@monishakhare37-hash

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions