Skip to content

mohancse1707/mk-scheduler-webapp

Repository files navigation

Scheduler Application Using React & Spring Boot

Introduction

This document describes how to create, change and cancel job scheduler with UI screens using reactJS and spring boot.

Technology Stack

The technologies used in this application are given below.

Front End

* ReactJS 
* Typescript
* Webpack

Back End

* Maven
* Spring Boot
* Spring Data JPA
* Quartz Scheduler
* H2 DB (InMemory)

Prerequisite

Make sure to install below tools and set the path in the system before proceeding to quick deployments.

maven requires JAVA_HOME variable, kindly follow the path setup given below.

Windows

set PATH=path/to/JDK/bin;%PATH%

set JAVA_HOME=path/to/JDK

set PATH=path/to/Maven/bin;%PATH%

Linux

export PATH=path/to/JDK/bin:$PATH

export JAVA_HOME=path/to/JDK

export PATH=path/to/Maven/bin:$PATH

Limitations

In order to check the priority job execution, I have considered frequency as corn expression (String) because I have tried considering frequency as seconds (number) but there is a difference in seconds / milliseconds while trying to create same Job frequency twice.

Source Code Download

If you have the GIT you can clone the application using below link else use the direct download link.

git clone https://github.com/mohancse1707/mk-scheduler-webapp.git

Direct Download

Quick Deployment Steps

After setting Java & Maven in path, execute the below command to start the application.

mvn spring-boot:run

once started hit this URL: http://localhost:8080/scheduler/#/

For Development & Contributions

Execute the below commands in separate terminal.

Terminal#1: mvn spring-boot:run

Terminal#2: npm install && npm run start