Skip to content

Samplify/DateWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple web app to return date and time (UTC) as json

Usage

This is a simple web app that returns the current UTC date and time as a json object

Json response example:

{
  "year": "2020",
  "month": "07",
  "day": "19",
  "hour": "13",
  "minute": "36",
  "second": "05",
  "microsecond": "474651"
}

Quickstart build / run docker image

Clone project and cd to the DateWebApp directory

Build image:

docker build --tag datewebapp .

Run image:

docker run --restart=always --name=datewebapp -d -p 5000:5000 datewebapp

Navigate to http://localhost:5000 or curl http://localhost:5000

Hosted example located here: http://datewebapp.inmy.coffee/

License

MIT

About

Simple web app that returns date/time as json object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published