Chore/run server easily#1
Closed
MatiasOS wants to merge 5 commits into
Closed
Conversation
Author
|
I think that is a good idea to have a |
Contributor
|
I highly recommend working in a separate branch, as the code right here is actually not a development version. |
Author
|
@SowmyaManohar What do you mean with a separate branch? My idea is to take a |
Contributor
|
The current Master branch is hosted in Azure. So it's kind of production branch. We can create a new branch if you want to work separately in HGNRest. |
Author
|
@SowmyaManohar That will be cool if you can add a branch to add my reviewed code. |
Author
|
I will close this because the lacking of response. |
This was referenced Mar 24, 2023
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.
I was try to run the server with old URI
mongodb://${process.env.user}:${encodeURIComponent(process.env.password)}@${process.env.cluster}/${process.env.dbName}?ssl=true&replicaSet=${process.env.replicaSetName}&authSource=adminand it is excessive secure and hard to configure.
Dev env must be easy to run and start.
I have replaced with a single
envvariableuri = mongodb://${process.env.MONGO_URI}.It allow to run mongoDB local without configurations.
Also, I have added a simple
README.mdfile with the instructions.