Skip to content

Commit 667e97b

Browse files
authored
Merge pull request #41 from bohyunjung/patch-1
Update descriptions in Java style
2 parents 987e690 + 478a62d commit 667e97b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/50-demo-app/3-configure.mdx

+4-6
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ import TabItem from '@theme/TabItem';
66

77
Now that your environment is set up, you can configure the application.
88

9-
There should already be a file open in the IDE. If not, look in the file explorer on the left, and open the file `.env`. This file contains the configuration for the application.
9+
There should already be a file open in the IDE. If not, look in the file explorer on the left, and open the file below. This file contains the configuration for the application.
1010

1111
<Tabs groupId="server">
1212
<TabItem value="node" label="🚀 NodeJS/Express">
1313

1414
File: `server/.env`
1515

16-
1716
```
1817
PORT=5000
1918
DATABASE_URI="mongodb+srv://user:password@serverurl"
@@ -24,12 +23,11 @@ SECRET="secret"
2423

2524
<TabItem value="java" label="☕️ Java Spring Boot">
2625

27-
File: `/java-server/src/main/resources/.env`
26+
File: `/java-server/src/main/resources/application.properties`
2827

2928
```
30-
DATABASE_NAME=library
31-
# Add here the MongoDB URI of your database cluster
32-
DATABASE_URI=
29+
spring.data.mongodb.uri=mongodb+srv://user:password@serverurl
30+
spring.data.mongodb.database=library
3331
```
3432
</TabItem>
3533
</Tabs>

0 commit comments

Comments
 (0)