Skip to content

slihatim/Employee-scheduling-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Scheduling (Java, Quarkus, Maven)

Schedule shifts to employees, accounting for minimum employees per shift, and shift skill requirements.

Employee Scheduling Screenshot

Prerequisites

  1. Install Java and Maven, for example with Sdkman:

    $ sdk install java

    $ sdk install maven

Run the application

  1. Git clone this repo and navigate to this directory:

    $ git clone https://github.com/slihatim/Employee-scheduling-backend.git

    $ cd Employee-scheduling-backend/toRun

  2. Start the application with Maven:

    $ mvn quarkus:dev

  3. Visit http://localhost:8080 in your browser.

Input Data

  1. With a command Line, navigate to the directory where you have input data, in my case :

    $ cd desktop/stage-alten/Employee-scheduling-backend

  2. To run the solver, make a POST request with the data as follows:

    $ curl -X POST -H "Content-Type: application/json" -d @input.json http://localhost:8080/schedules

    The response will be an id.

  3. If you want to Terminate the solving Early, use that id with this command :

    $ curl -X DELETE -H 'Accept:application/json' http://localhost:8080/schedules/{id}

Output Data

  1. The output will be in http://localhost:8080/schedules/{id}

Visualising the solution

About

Employee scheduling optimization, using timefold ai.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published