Sign inSign up

alirizasaral/timetracker

By alirizasaral

Updated almost 10 years ago

A legacy application that keeps track of employee work time

Image
2

445

alirizasaral/timetracker repository overview

The application can be started with

$ docker run -d -p 8080:8080 alirizasaral/timetracker:1

Here are some examples to interact with the application.

  1. Following call will fetch the first 10 time-track-records:
$ curl "http://192.168.99.100:8080/records?offset=0&length=10"
  1. Following call will fetch the first 10 time-track-records of the employee [email protected]:
$ curl "http://192.168.99.100:8080/[email protected]&length=10"
  1. Following call will create a new time-track-record:
$ curl -X POST --data "[email protected]" --data "start=28.11.2016 08:00" --data "end=28.11.2016 09:00" "http://192.168.99.100:8080/records"

Tag summary

Content type

Image

Digest

Size

85.8 MB

Last updated

almost 10 years ago

docker pull alirizasaral/timetracker:1