Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Full-stack implementation of TaskAgile application with Vue.js, Spring Boot, and MySQL

NotificationsYou must be signed in to change notification settings

taskagile/vuejs.spring-boot.mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open source task management tool built with Vue.js 2, Spring Boot 2, and MySQL 5.7+

This is the repository for the bookBuilding applications with Spring 5 and Vue.js 2: A real-world practical guide to building a modern full-stack web application.

Local development setup

Prerequisites

  • JDK8 - OpenJDK Preferred
  • MySQL 5.7+
  • RabbitMQ 3.6+
  • GraphicMagick 1.3+

Database setup

  • Create databasetask_agile
  • Initialize database with scripts insetup folder

Add dev properties file

  • Createsrc/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=falsespring.datasource.username=<your username>spring.datasource.password=<your password>

Commands

  • Usemvn test to run the tests of the back-end and the front-end
  • Usemvn spring-boot:run to start the back-end
  • Usenpm run serve inside thefront-end directory to start the front-end
  • Usemvn install to build both the front-end and the back-end
  • Usejava -jar target/app-0.0.1-SNAPSHOT.jar to start the bundled application

How to run application inside docker

$ mvn clean package$ cp target/app-0.0.1-SNAPSHOT.jar docker/app.jar$ docker build -t taskagile:dev docker/

Start with dev profile locally

$ docker run --rm --name taskagile -e"SPRING_PROFILES_ACTIVE=dev" -p 8080:8080 -p 9000:9000 taskagile

Start on server

With active profilesstaging anddocker. Make suredocker is the last one in the list so that the settings inevn.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

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp