Skip to content

Commit

Permalink
dependency added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ropold committed Dec 27, 2024
1 parent 80d73f5 commit 3034000
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 2 deletions.
25 changes: 24 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
#Project
/.idea/
*.iml
*.iml

#Backend files
backend/target/
backend/!.mvn/wrapper/maven-wrapper.jar
backend/!**/src/main/**/target/
backend/!**/src/test/**/target/
backend/mvnw
backend/mvnw.cmd

#Frontend files
frontend/logs
frontend/*.log
frontend/npm-debug.log*
frontend/yarn-debug.log*
frontend/yarn-error.log*
frontend/pnpm-debug.log*
frontend/lerna-debug.log*

frontend/node_modules
frontend/dist
frontend/dist-ssr
frontend/*.local
36 changes: 35 additions & 1 deletion backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>de.neuefische.java</groupId>
<artifactId>spring-boot-starter-fallback-page</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand All @@ -49,6 +57,32 @@
<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>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>26.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cloudinary</groupId>
<artifactId>cloudinary-http44</artifactId>
<version>1.33.0</version>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 6 additions & 0 deletions backend/src/main/java/ropold/backend/BackendApplication.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package ropold.backend;

import com.cloudinary.Cloudinary;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class BackendApplication {
Expand All @@ -10,4 +12,8 @@ public static void main(String[] args) {
SpringApplication.run(BackendApplication.class, args);
}

@Bean
public Cloudinary cloudinary(){
return new Cloudinary();
}
}
3 changes: 3 additions & 0 deletions backend/src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
de.flapdoodle.mongodb.embedded.version=7.0.4
app.url=http://localhost:5173/
CLOUDINARY_URL=123

0 comments on commit 3034000

Please sign in to comment.