Skip to content

Commit

Permalink
Merge pull request #2 from malekch-15/test1
Browse files Browse the repository at this point in the history
Mongodb Root and axios  installation and vite http updated
  • Loading branch information
Ropold authored Nov 11, 2024
2 parents f836c65 + eb3031b commit 4b226a9
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 3 deletions.
6 changes: 6 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo.spring3x</artifactId>
<version>4.13.0</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
spring.application.name=backend
spring.data.mongodb.uri=${MONGODB_URI}
1 change: 1 addition & 0 deletions backend/src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
de.flapdoodle.mongodb.embedded.version=7.0.4
132 changes: 131 additions & 1 deletion frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.7.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
plugins: [react()],
server:{
proxy:{
'/api':'http://localhost:8088'
'/api':'http://localhost:8080'
}
}
})

0 comments on commit 4b226a9

Please sign in to comment.