Skip to content

Commit fd950c6

Browse files
committed
fix: added db hosting instructions
Signed-off-by: Kannav02 <[email protected]>
1 parent a1d4668 commit fd950c6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

frontend/mongoDB.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,24 @@ The MongoDB integration provides functionality to store and manage user feedback
66

77
### Configuration
88

9-
Add to your `.env` file:
9+
Add to your `.env` file:
1010
(Also refer to `.env.example` for more details)
11+
1112
```sh
1213
MONGO_DB_URI=mongodb+srv://<username>:<password>@<cluster>.mongodb.net
1314
```
1415

1516
The given above format only works if you are using MongoDB Atlas in the Cloud,
17+
To find more detailed instructions on setting up MongoDB Atlas use this [Link](https://www.mongodb.com/docs/atlas/getting-started/)
18+
1619
If you're hosting it locally , add the following to the `.env` file
1720

1821
```sh
1922
MONGO_DB_URI=mongodb://localhost:27017
2023
```
2124

25+
To find more instruction on hosting a MongoDB instance locally use this [Link](https://www.mongodb.com/docs/manual/tutorial/install-mongodb-community-with-docker/)
26+
2227
considering the docker instance is running on `PORT 27017`
2328

2429
## Database Schema
@@ -41,7 +46,7 @@ The `feedback` collection uses JSON Schema validation with the following structu
4146
}
4247
```
4348

44-
Right now the Schema is a single one, but later on the sources field would be encapsulated in another schema for better decoupling
49+
Right now the Schema is a single one, but later on the sources field would be encapsulated in another schema for better decoupling
4550

4651
## Usage Example
4752

0 commit comments

Comments
 (0)