Skip to content

ktkiyoshi/pkmn-api-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkmn-api-java

Setup

Make application-dev.properties / application-pro.properties

spring.datasource.url=jdbc:mysql://localhost:3306/_pkmn
spring.datasource.username=USER_NAME
spring.datasource.password=PASSWORD
#spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.jpa.database=MYSQL
#spring.jpa.hibernate.ddl-auto=update

Make launch.json (in case of VSCode)

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "java",
            "name": "Debug (Launch)-PkmnApplication<pkmn>",
            "request": "launch",
            "mainClass": "com.ktkiyoshi.pkmn.PkmnApplication",
            "projectName": "pkmn",
            "vmArgs": "-Dspring.profiles.active=dev",
        }
    ]
}

Start

※ Need MySQL(MariaDB) has started

launch.jsonで設定した、「Debug (Launch)-PkmnApplication」を使う。

About

pkmn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors