Initial commit.
This commit is contained in:
46
codiki-launcher/pom.xml
Normal file
46
codiki-launcher/pom.xml
Normal 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>
|
||||
@@ -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