Initial commit.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
24
codiki-launcher/src/main/resources/application.yml
Normal file
24
codiki-launcher/src/main/resources/application.yml
Normal 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
|
||||
12
codiki-launcher/src/main/resources/banner.txt
Normal file
12
codiki-launcher/src/main/resources/banner.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
#######
|
||||
##############
|
||||
###################
|
||||
######## ######### _________ .___.__ __ .__
|
||||
####### ############# \_ ___ \ ____ __| _/|__| | _|__|
|
||||
###### ### ######## / \ \/ / _ \ / __ | | | |/ / |
|
||||
####### ### ##### \ \___( <_> ) /_/ | | | <| |
|
||||
######### ## ####### \______ /\____/\____ | |__|__|_ \__|
|
||||
######### ######## \/ \/ \/
|
||||
###################
|
||||
#############
|
||||
#######
|
||||
Reference in New Issue
Block a user