commit 56b81bd8dcea4cbf6bb64981b4a8e37370eb80de Author: hylee Date: Mon Feb 13 10:33:27 2023 +0900 최초 커밋 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89e9faf --- /dev/null +++ b/.gitignore @@ -0,0 +1,200 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + + +### Eclipse ### + +.metadata +bin/ +deploy/ +tmp/ + +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings +.loadpath +.recommenders + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +# Scala IDE specific (Scala & Java development for Eclipse) +.cache-main +.scala_dependencies +.worksheet + +### Eclipse Patch ### +# Eclipse Core +*.project + +# JDT-specific (Eclipse Java Development Tools) +*.classpath + +# End of https://www.gitignore.io/api/eclipse + +# Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/compiler.xml +.idea/**/encodings.xml +.idea/**/jarRepositories.xml +.idea/**/misc.xml +.idea/**/vcs.xml +.idea/**/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# CMake +cmake-build-debug/ + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws +/.idea/ +.idea +*.iws +*.iml +*.ipr +compiler.xml + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Ruby plugin and RubyMine +/.rakeTasks + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +### Intellij Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +.idea/sonarlint + + +# End of https://www.gitignore.io/api/intellij +# /src/main/resources/db.properties +# /src/main/resources/ako.properties +# /src/main/resources/ako.properties +# /src/main/resources/db.properties + + +### VS Code ### +.vscode/ + +# jrebel +rebel.xml +/mvnw +/mvnw.cmd diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c51dffa --- /dev/null +++ b/pom.xml @@ -0,0 +1,103 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.8 + + + com.itn + mjon_api + 0.0.1-SNAPSHOT + mjon_api + mjon_api + + 1.8 + + + + org.springframework.boot + spring-boot-starter-hateoas + + + org.springframework.boot + spring-boot-starter-web + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 2.3.0 + + + + com.h2database + h2 + + + + org.mariadb.jdbc + mariadb-java-client + + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.restdocs + spring-restdocs-mockmvc + test + + + + + + + org.asciidoctor + asciidoctor-maven-plugin + 2.2.1 + + + generate-docs + prepare-package + + process-asciidoc + + + html + book + + + + + + org.springframework.restdocs + spring-restdocs-asciidoctor + ${spring-restdocs.version} + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/src/main/java/com/itn/mjon_api/MjonApiApplication.java b/src/main/java/com/itn/mjon_api/MjonApiApplication.java new file mode 100644 index 0000000..ea4ed50 --- /dev/null +++ b/src/main/java/com/itn/mjon_api/MjonApiApplication.java @@ -0,0 +1,15 @@ +package com.itn.mjon_api; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class MjonApiApplication { + + public static void main(String[] args) { + SpringApplication.run(MjonApiApplication.class, args); + } + +} + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/src/test/java/com/itn/mjon_api/MjonApiApplicationTests.java b/src/test/java/com/itn/mjon_api/MjonApiApplicationTests.java new file mode 100644 index 0000000..8942309 --- /dev/null +++ b/src/test/java/com/itn/mjon_api/MjonApiApplicationTests.java @@ -0,0 +1,13 @@ +package com.itn.mjon_api; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class MjonApiApplicationTests { + + @Test + void contextLoads() { + } + +}