Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damingerdai/jobs
a simple schedule jobs management systems based on spring boot, quartz and react
https://github.com/damingerdai/jobs
docker docker-compose flyway gradle postgresql quartz react spring-boot
Last synced: 19 days ago
JSON representation
a simple schedule jobs management systems based on spring boot, quartz and react
- Host: GitHub
- URL: https://github.com/damingerdai/jobs
- Owner: damingerdai
- Created: 2020-10-14T00:45:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T23:07:06.000Z (about 2 months ago)
- Last Synced: 2024-10-30T01:47:43.226Z (about 2 months ago)
- Topics: docker, docker-compose, flyway, gradle, postgresql, quartz, react, spring-boot
- Language: Java
- Homepage:
- Size: 4.46 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jobs
----`jobs` is a simple schedule jobs management systems based on [spring boot](https://spring.io/projects/spring-boot/), [quartz](http://www.quartz-scheduler.org/) and [react](https://reactjs.org/).
![job-list](https://raw.githubusercontent.com/damingerdai/jobs/master/screenshots/job-list.png)
![job-create-dark](https://raw.githubusercontent.com/damingerdai/jobs/master/screenshots/job-create-dark.png)
![changelogs](https://raw.githubusercontent.com/damingerdai/jobs/master/screenshots/changelogs.png)## Requirement
1. [docker](https://www.docker.com/)
2. [java](http://jdk.java.net/17/)
3. [nodejs](https://nodejs.org/en/)## Setup
### Datasource
create a docker network(only first).
```shell script
docker network create daming-jobs
```create a docker volume(only first).
```shell script
docker volume create --name=daming-jobs
```setup a postgresql db.
```shell script
docker-compose up db
# db uses an image, skipping
# docker-compose up --force-recreate db
```run postgresql migrate.
for Linux or Mac:
```shell script
./gradlew flywayMigrate
```for Windows:
```shell
./gradlew.bat flywayMigrate
```### Run
#### Back End
To run the application, run the following command in a terminal window (in the complete) directory:
```shell
./gradlew bootRun (./gradlew.bat bootRun for windows)
```#### Front End
navigate to the `src/main/react` directory,
install 3rd dependencies(only first)
```shell
yarn
```run the react
```shell
yarn start
```open the [browser](http://localhost:3000/)
![login](https://raw.githubusercontent.com/damingerdai/jobs/master/screenshots/login.png)## bazel
new manve install json
```
bazel run @maven//:pin
```update maven install json
```
bazel run @unpinned_maven//:pin
```build and run
```
bazel build //:springbootbazel run //:springboot
```#### Swagger UI
`jobs` support [swagger ui](http://127.0.0.1:8443/swagger-ui/index.html).
![swagger-ui](https://raw.githubusercontent.com/damingerdai/jobs/master/screenshots/swagger-ui.png)