2020 年の ojt 用に作成するサンプルアプリです。 枯れた技術をベースに、なるべく新しいものを組み込んでいるつもり。
- editorconfig
- java 11
- springBoot RELEASE 2.3.0
- springSecurity
- spring data jpa
- gradle
- lombok
- flyway
- yarn
- eslint
- prettier
- webpack
- bootstrap4
- vagrant
- centos/8
- mysql8.0.17
- Install Java 11, npm, yarn, vagrant, vurtualBox and Gradle. Gradle is Option.
(If you don't want to install Gradle, use./gradlew
). - Move to root of project.
- Type
vagrant up
. - Type
yarn install
. - Type
yarn run build
. - Run App by
main\java\com\example\ojt\todoApp2020\Application.java
If you want to use CLI, typegradle bootRun --args='--spring.profiles.active=dev'