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.
- JDK8 - OpenJDK Preferred
- MySQL 5.7+
- RabbitMQ 3.6+
- GraphicMagick 1.3+
- Create database
task_agile
- Initialize database with scripts in
setup
folder
- Create
src/main/resources/application-dev.properties
with the following settings to override the settings inapplication.properties
.
spring.datasource.url=jdbc:mysql://localhost:3306/task_agile?useSSL=false
spring.datasource.username=<your username>
spring.datasource.password=<your password>
- Use
mvn test
to run the tests of the back-end and the front-end - Use
mvn spring-boot:run
to start the back-end - Use
npm run serve
inside thefront-end
directory to start the front-end - Use
mvn install
to build both the front-end and the back-end - Use
java -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