Full-stack implementation of TaskAgile application with Vue.js, Spring Boot, and MySQL
Open source task management tool built with Vue.js 2, Spring Boot 2, and MySQL 5.7+
This is the repository for the book Building applications with Spring 5 and Vue.js 2: A real-world practical guide to building a modern full-stack web application.
task_agile
setup
foldersrc/main/resources/application-dev.properties
with the following settings to override the settings in application.properties
.spring.datasource.url=jdbc:mysql://localhost:3306/task_agile?useSSL=false
spring.datasource.username=<your username>
spring.datasource.password=<your password>
mvn test
to run the tests of the back-end and the front-endmvn spring-boot:run
to start the back-endnpm run serve
inside the front-end
directory to start the front-endmvn install
to build both the front-end and the back-endjava -jar target/app-0.0.1-SNAPSHOT.jar
to start the bundled application$ mvn clean package
$ cp target/app-0.0.1-SNAPSHOT.jar docker/app.jar
$ docker build -t taskagile:dev docker/
$ docker run --rm --name taskagile -e "SPRING_PROFILES_ACTIVE=dev" -p 8080:8080 -p 9000:9000 taskagile
With active profiles staging
and docker
. Make sure docker
is the last one in the list so that the settings in evn.list
will be applied.
$ docker run --rm --name taskagile --env-file ./docker/env.list -e "SPRING_PROFILES_ACTIVE=staging,docker" -p 8080:8080 -p 9000:9000 taskagile