-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
오늘 처음 tripply 소스를 커밋함
- Loading branch information
user1
authored and
user1
committed
Sep 15, 2022
0 parents
commit 6dade07
Showing
73 changed files
with
824 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.settings | ||
target/* | ||
.classpath | ||
.project | ||
.springBeans |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,225 @@ | ||
<?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/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.kh</groupId> | ||
<artifactId>tripply</artifactId> | ||
<name>Tripply</name> | ||
<packaging>war</packaging> | ||
<version>1.0.0-BUILD-SNAPSHOT</version> | ||
<properties> | ||
<java-version>1.8</java-version> | ||
<org.springframework-version>5.2.18.RELEASE</org.springframework-version> | ||
<org.aspectj-version>1.6.10</org.aspectj-version> | ||
<org.slf4j-version>1.6.6</org.slf4j-version> | ||
</properties> | ||
|
||
<!-- ojdbc6사용을 위한 부분 --> | ||
<repositories> | ||
<repository> | ||
<id>oracle</id> | ||
<url>http://www.datanucleus.org/downloads/maven2/</url> | ||
</repository> | ||
</repositories> | ||
|
||
|
||
<dependencies> | ||
<!-- ojdbc6 --> | ||
<!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc6 --> | ||
<dependency> | ||
<groupId>oracle</groupId> | ||
<artifactId>ojdbc6</artifactId> | ||
<version>11.2.0.3</version> | ||
</dependency> | ||
|
||
<!-- mybatis 3.5.6 --> | ||
<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis --> | ||
<dependency> | ||
<groupId>org.mybatis</groupId> | ||
<artifactId>mybatis</artifactId> | ||
<version>3.5.6</version> | ||
</dependency> | ||
|
||
<!-- spring mybatis 1.3.2 --> | ||
<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-spring --> | ||
<dependency> | ||
<groupId>org.mybatis</groupId> | ||
<artifactId>mybatis-spring</artifactId> | ||
<version>1.3.2</version> | ||
</dependency> | ||
|
||
<!-- 스프링jdbc --> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-webmvc</artifactId> | ||
<version>${org.springframework-version}</version> | ||
</dependency> | ||
|
||
<!-- common-dbcp1.4 --> | ||
<!-- https://mvnrepository.com/artifact/commons-dbcp/commons-dbcp --> | ||
<dependency> | ||
<groupId>commons-dbcp</groupId> | ||
<artifactId>commons-dbcp</artifactId> | ||
<version>1.4</version> | ||
</dependency> | ||
|
||
<!-- common-fileupload 1.3.3 --> | ||
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload --> | ||
<dependency> | ||
<groupId>commons-fileupload</groupId> | ||
<artifactId>commons-fileupload</artifactId> | ||
<version>1.3.3</version> | ||
</dependency> | ||
|
||
|
||
<!-- common-io 2.6 --> | ||
<!-- https://mvnrepository.com/artifact/commons-io/commons-io --> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.6</version> | ||
</dependency> | ||
|
||
|
||
<!-- Spring --> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-context</artifactId> | ||
<version>${org.springframework-version}</version> | ||
<exclusions> | ||
<!-- Exclude Commons Logging in favor of SLF4j --> | ||
<exclusion> | ||
<groupId>commons-logging</groupId> | ||
<artifactId>commons-logging</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-webmvc</artifactId> | ||
<version>${org.springframework-version}</version> | ||
</dependency> | ||
|
||
<!-- AspectJ --> | ||
<dependency> | ||
<groupId>org.aspectj</groupId> | ||
<artifactId>aspectjrt</artifactId> | ||
<version>${org.aspectj-version}</version> | ||
</dependency> | ||
|
||
<!-- Logging --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>${org.slf4j-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>jcl-over-slf4j</artifactId> | ||
<version>${org.slf4j-version}</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
<version>${org.slf4j-version}</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>log4j</groupId> | ||
<artifactId>log4j</artifactId> | ||
<version>1.2.15</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>javax.mail</groupId> | ||
<artifactId>mail</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>javax.jms</groupId> | ||
<artifactId>jms</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>com.sun.jdmk</groupId> | ||
<artifactId>jmxtools</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>com.sun.jmx</groupId> | ||
<artifactId>jmxri</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
<scope>runtime</scope> | ||
</dependency> | ||
|
||
<!-- @Inject --> | ||
<dependency> | ||
<groupId>javax.inject</groupId> | ||
<artifactId>javax.inject</artifactId> | ||
<version>1</version> | ||
</dependency> | ||
|
||
<!-- Servlet --> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>servlet-api</artifactId> | ||
<version>2.5</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet.jsp</groupId> | ||
<artifactId>jsp-api</artifactId> | ||
<version>2.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>jstl</artifactId> | ||
<version>1.2</version> | ||
</dependency> | ||
|
||
<!-- Test --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.7</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-eclipse-plugin</artifactId> | ||
<version>2.9</version> | ||
<configuration> | ||
<additionalProjectnatures> | ||
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature> | ||
</additionalProjectnatures> | ||
<additionalBuildcommands> | ||
<buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand> | ||
</additionalBuildcommands> | ||
<downloadSources>true</downloadSources> | ||
<downloadJavadocs>true</downloadJavadocs> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.5.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
<compilerArgument>-Xlint:all</compilerArgument> | ||
<showWarnings>true</showWarnings> | ||
<showDeprecation>true</showDeprecation> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>1.2.1</version> | ||
<configuration> | ||
<mainClass>org.test.int1.Main</mainClass> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package com.kh.tripply; | ||
|
||
import java.text.DateFormat; | ||
import java.util.Date; | ||
import java.util.Locale; | ||
|
||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
import org.springframework.stereotype.Controller; | ||
import org.springframework.ui.Model; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RequestMethod; | ||
|
||
/** | ||
* Handles requests for the application home page. | ||
*/ | ||
@Controller | ||
public class HomeController { | ||
|
||
private static final Logger logger = LoggerFactory.getLogger(HomeController.class); | ||
|
||
/** | ||
* Simply selects the home view to render by returning its name. | ||
*/ | ||
@RequestMapping(value = "/", method = RequestMethod.GET) | ||
public String home(Locale locale, Model model) { | ||
logger.info("Welcome home! The client locale is {}.", locale); | ||
|
||
Date date = new Date(); | ||
DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, locale); | ||
|
||
String formattedDate = dateFormat.format(date); | ||
|
||
model.addAttribute("serverTime", formattedDate ); | ||
|
||
return "home"; | ||
} | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/banner/controller/BannerController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.banner.controller; | ||
|
||
public class BannerController { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.banner.domain; | ||
|
||
public class Banner { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/banner/service/BannerService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.banner.service; | ||
|
||
public interface BannerService { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/banner/service/logic/BannerServiceImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.banner.service.logic; | ||
|
||
public class BannerServiceImpl { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.banner.store; | ||
|
||
public interface BannerStore { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/banner/store/logic/BannerStoreLogic.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.banner.store.logic; | ||
|
||
public class BannerStoreLogic { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/chatting/controller/ChattingController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.chatting.controller; | ||
|
||
public class ChattingController { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.chatting.domain; | ||
|
||
public class Chatting { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/chatting/service/ChattingService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.chatting.service; | ||
|
||
public interface ChattingService { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/chatting/service/logic/ChattingServiceImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.chatting.service.logic; | ||
|
||
public class ChattingServiceImpl { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/chatting/store/ChattingStore.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.chatting.store; | ||
|
||
public interface ChattingStore { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/chatting/store/logic/ChattingStoreLogic.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.chatting.store.logic; | ||
|
||
public class ChattingStoreLogic { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/free/controller/FreeController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.free.controller; | ||
|
||
public class FreeController { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.free.domain; | ||
|
||
public class FreeBoard { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.free.service; | ||
|
||
public class FreeService { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/free/service/logic/FreeServiceImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.free.service.logic; | ||
|
||
public interface FreeServiceImpl { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.free.store; | ||
|
||
public class FreeStore { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/free/store/logic/FreeStoreLogic.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.free.store.logic; | ||
|
||
public interface FreeStoreLogic { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/member/controller/MemberController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.member.controller; | ||
|
||
public class MemberController { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.member.domain; | ||
|
||
public class Member { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/kh/tripply/member/service/MemberService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.kh.tripply.member.service; | ||
|
||
public class MemberService { | ||
|
||
} |
Oops, something went wrong.