Skip to content

cetcondor/ditt-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DITT API

DBJR Internal Time Tracking API developed by VisionApps

Build

To install the project:

  1. Install composer packages: composer install
  2. Run the installation process vendor/bin/robo install
  3. Create certificates for JWT:
$ openssl genrsa -out config/jwt/private.pem -aes256 4096
$ openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem
  1. Set JWT_PASSPHRASE in .env to whatever you entered as a password in previous step

To update the project:

  1. Install composer packages: composer install
  2. Run the installation process vendor/bin/robo update

User Accounts

Following accounts are available for testing purposes:

Email Password Roles
[email protected] password EMPLOYEE
[email protected] password EMPLOYEE, ADMIN
[email protected] password ADMIN
[email protected] password SUPER ADMIN

Config

To change supported years, supported holidays and worked hours limits, go to the /config/config.php file and make changes there. Config is exposed as API endpoint, so you do not need to change it in client's config.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.3%
  • Twig 2.6%
  • Shell 0.1%