-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrated Socket.io | Updated Readme.md #146
base: main
Are you sure you want to change the base?
Conversation
@TheAdich is attempting to deploy a commit to the Dhanush Nehru's projects Team on Vercel. A member of the Team first needs to authorize it. |
screen-capture.webm |
Hi @TheAdich please resolve merge conflicts |
Github is saying no merge conflicts with the base branch currently |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hi @TheAdich it seems mongo db has to be hosted somewhere inorder to incorporate your changes. Is there any free version available. Also since its deployed in vercel. How we can setup things ?? The Render setup has been done from my end. Now MongoDB connection string not sure what to be done ! |
server/index.js
Outdated
app.use('/api/code',codeRouter); | ||
|
||
|
||
mongoose.connect("mongodb+srv://testing_node:[email protected]/customDb?retryWrites=true&w=majority&appName=Cluster0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also why the mongo connection string is hard coded ?
It could be from .env
Okay i will make changes in the server part and in render there is a option to add environment variables you can add your
mongodb connection uri there it will be synced with your db
|
And mongodb provide a free cluster version where you can add multiple
collection of your db, you just need to copy that connection string and put it on render
|
Resolves #126
PR Fixes:
Checklist before requesting a review
main
branchnpm run lint:fix
locally