franchoo / staff-payroll

Spring Boot project implemented on Java 9 using Gradle, improved UI with Bootstrap and packaged by feature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java 9 - Staff Payroll

Interview coding challenge developed with Spring Framework and Mustache

Content

Spring Boot project implemented on Java 9 using Gradle, improved UI with Bootstrap and packaged by feature (this article here explains better why we should package by feature instead of layers)

Persistence end-points (connection details on application.yml)

  • ✓ POST /phone?empId={Integer}&type={String}&number={String} ... Register a new phone from an employee
  • ✓ DELETE /phone?empId={Integer} ... Delete one phone registered to an employee

Try out

Import the files (build.gradle as a project) in an IDE (like Eclipse or IntelliJ) or with VSCode adding the Java Extension Pack (also by the shell command code <project-folder>), execute via main method or JUnit Test files

Can also be deployed by shell command, in the project path use $ ./gradlew bootRun

List all the available Gradle tasks to execute with $ ./gradlew tasks

Contributors

About

Spring Boot project implemented on Java 9 using Gradle, improved UI with Bootstrap and packaged by feature

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 85.0%Language:HTML 15.0%