Initial commit.

This commit is contained in:
Florian THIERRY
2024-03-08 13:42:28 +01:00
commit 494b731885
49 changed files with 1337 additions and 0 deletions

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,24 @@
application:
security:
jwt:
secretKey: "secret-key"
expirationDelayInMinutes: 30
refreshToken:
expirationDelayInDays: 7
logging:
level:
org.springframework.security: DEBUG
server:
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

View File

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