A webapp to record and track your working time. Currently work in progress.
 
 
 
 
Go to file
Oliver Traber 312e0bc0d9
Merge pull request #1 from BluemediaGER/development
Merge development to main
2021-10-31 16:20:22 +01:00
.github Add dependabot configuration 2021-10-31 16:14:04 +01:00
backend Add exceptions and corresponding exception mappers 2021-10-31 16:03:24 +01:00
frontend Initial commit 2021-10-31 02:33:47 +02:00
.gitignore Add exceptions and corresponding exception mappers 2021-10-31 16:03:24 +01:00
LICENSE Initial commit 2021-10-31 02:33:47 +02:00
README.md Initial commit 2021-10-31 02:33:47 +02:00
pom.xml Initial commit 2021-10-31 02:33:47 +02:00

README.md

Timechamp

Timechamp is my personal time tracking tool. Since my current employer does not require its employees to record their working hours, I am required by law to do so myself. Timechamp also helps me to keep an overview for myself (since no one likes to work excessive overtime :) and can generate reports from it if there is a need.

Building a fat JAR (which includes the frontend)

  1. Clone the repository.
  2. Run mvn clean package in the root directory.
  3. Maven will download Node.JS and Yarn to the frontend/node/ directory.
  4. Maven will install the frontend dependencies using yarn install.
  5. Maven will build the frontend using yarn build.
  6. Maven will compile the backend.
  7. Maven will package frontend and backend into one fat JAR file.
  8. The final JAR file will be located at backend/target/backend-<Version>-jar-with-dependencies.jar

Project structure

Directories

  • backend/ Java module which provides the core backend functionality.
  • frontend/ Java module which contains the Vue.js 3 frontend. This module does not contain any Java code and exists exclusively for the automatic build with maven. The frontend is built by maven during compilation and packaged into the JAR file of the backend.

Development

Backend

  1. Clone the repository.
  2. Open the root folder in your IDE of choice.

Frontend

Requirements: NodeJS 14.15.4+, Yarn

  1. Clone the repository.
  2. Open the frontend folder in your IDE of choice.
  3. Run yarn install to install dependencies.
  4. Run yarn serve to start the Vue.js project in development mode.

Contribution Guidelines

  • Use 4 spaces indent and CamelCase
  • Always leave enough empty lines in bigger code blocks
  • Comment your code (in english)
  • Stick to the structure
  • Test your changes
  • Update the documentation