Move backend files into a sub folder.

This commit is contained in:
Florian THIERRY
2024-03-27 10:28:22 +01:00
parent 39663e914d
commit 431d365d20
131 changed files with 3633 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codiki</groupId>
<artifactId>codiki-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<artifactId>codiki-launcher</artifactId>
<name>codiki-launcher</name>
<description>Demo project for Spring Boot</description>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-exposition</artifactId>
</dependency>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-application</artifactId>
</dependency>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-domain</artifactId>
</dependency>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-infrastructure</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,18 @@
package org.codiki.launcher;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan(basePackages = {
"org.codiki.exposition",
"org.codiki.application",
"org.codiki.domain",
"org.codiki.infrastructure"
})
public class ApplicationLauncher {
public static void main(String[] args) {
SpringApplication.run(ApplicationLauncher.class, args);
}
}

View File

@@ -0,0 +1,15 @@
application:
pictures:
path: /Users/florian_thierry/Documents/Developpement/codiki-hexa/pictures-folder/
temp-path : /Users/florian_thierry/Documents/Developpement/codiki-hexa/pictures-folder/temp/
server:
port: 8987
spring:
jpa:
show-sql: true
servlet:
multipart:
max-file-size: 1MB
max-request-size: 1MB

View File

@@ -0,0 +1,33 @@
application:
security:
jwt:
secretKey: "secret-key"
expirationDelayInMinutes: 30
refreshToken:
expirationDelayInDays: 7
pictures:
path: /opt/codiki/pictures/
temp-path: /opt/codiki/pictures/temp/
logging:
level:
org.springframework.security: DEBUG
server:
http2:
enabled: true
error:
whitelabel:
enabled: false # Disable html error responses.
include-stacktrace: never
spring:
datasource:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://localhost:50001/codiki_db
username: codiki_user
password: password
servlet:
multipart:
max-file-size: 150MB
max-request-size: 151MB

View File

@@ -0,0 +1,12 @@
#######
##############
###################
######## ######### _________ .___.__ __ .__
####### ############# \_ ___ \ ____ __| _/|__| | _|__|
###### ### ######## / \ \/ / _ \ / __ | | | |/ / |
####### ### ##### \ \___( <_> ) /_/ | | | <| |
######### ## ####### \______ /\____/\____ | |__|__|_ \__|
######### ######## \/ \/ \/
###################
#############
#######