Skip to content

a simple schedule jobs management systems based on spring boot, quartz and react

Notifications You must be signed in to change notification settings

damingerdai/jobs

Repository files navigation

Jobs


jobs is a simple schedule jobs management systems based on spring boot, quartz and react.

job-list job-create-dark changelogs

Requirement

  1. docker
  2. java
  3. nodejs

Setup

Datasource

create a docker network(only first).

docker network create daming-jobs

create a docker volume(only first).

docker volume create --name=daming-jobs

setup a postgresql db.

docker-compose up db
# db uses an image, skipping
# docker-compose up --force-recreate db

run postgresql migrate.

for Linux or Mac:

./gradlew flywayMigrate

for Windows:

./gradlew.bat flywayMigrate

Run

Back End

To run the application, run the following command in a terminal window (in the complete) directory:

./gradlew bootRun (./gradlew.bat bootRun for windows)

Front End

navigate to the src/main/react directory,

install 3rd dependencies(only first)

yarn

run the react

yarn start

open the browser login

bazel

new manve install json

bazel run @maven//:pin 

update maven install json

bazel run @unpinned_maven//:pin

build and run

bazel build //:springboot

bazel run //:springboot

Swagger UI

jobs support swagger ui. swagger-ui