Integrated Socket.io | Updated Readme.md#146
Open
TheAdich wants to merge 13 commits intoDhanushNehru:mainfrom
Open
Integrated Socket.io | Updated Readme.md#146TheAdich wants to merge 13 commits intoDhanushNehru:mainfrom
TheAdich wants to merge 13 commits intoDhanushNehru:mainfrom
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. |
Author
screen-capture.webm |
Author
Owner
|
Hi @TheAdich please resolve merge conflicts |
Author
|
Github is saying no merge conflicts with the base branch currently |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Owner
|
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 ! |
DhanushNehru
requested changes
Oct 16, 2024
server/index.js
Outdated
| app.use('/api/code',codeRouter); | ||
|
|
||
|
|
||
| mongoose.connect("mongodb+srv://testing_node:test1234@cluster0.jriry7x.mongodb.net/customDb?retryWrites=true&w=majority&appName=Cluster0") |
Owner
There was a problem hiding this comment.
Also why the mongo connection string is hard coded ?
It could be from .env
Author
|
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
|
Author
|
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
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Resolves #126
PR Fixes:
Checklist before requesting a review
mainbranchnpm run lint:fixlocally