Skip to content

Set up Express server and MongoDB connection#156

Open
Shalini828 wants to merge 2 commits into
Sitaram8472:mainfrom
Shalini828:backend-setup
Open

Set up Express server and MongoDB connection#156
Shalini828 wants to merge 2 commits into
Sitaram8472:mainfrom
Shalini828:backend-setup

Conversation

@Shalini828

Copy link
Copy Markdown
Contributor

Summary

This PR sets up the backend server with MongoDB integration and adds the initial backend structure.

Changes Made

  • Configured Express server
  • Connected MongoDB using Mongoose
  • Added dotenv configuration
  • Enabled CORS and JSON middleware
  • Added authentication routes
  • Added inquiry routes
  • Implemented database connection error handling
  • Improved server startup handling

Testing

  • Backend server starts successfully
  • MongoDB connection verified
  • Authentication routes tested
  • Inquiry routes tested
  • No syntax or runtime errors

fixes #132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Dynamic Rate Limiting and Request Monitoring

1 participant