{"id":18524463,"url":"https://github.com/stelligent/stellitime-api","last_synced_at":"2026-03-08T02:04:55.016Z","repository":{"id":145835795,"uuid":"202591523","full_name":"stelligent/stellitime-api","owner":"stelligent","description":"Example mini-app to use during interview process.","archived":false,"fork":false,"pushed_at":"2020-01-07T21:33:42.000Z","size":564,"stargazers_count":3,"open_issues_count":0,"forks_count":13,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-24T05:26:11.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stelligent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-15T18:24:54.000Z","updated_at":"2021-12-20T23:52:44.000Z","dependencies_parsed_at":"2023-05-05T19:34:08.640Z","dependency_job_id":null,"html_url":"https://github.com/stelligent/stellitime-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fstellitime-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fstellitime-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fstellitime-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fstellitime-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stelligent","download_url":"https://codeload.github.com/stelligent/stellitime-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248031657,"owners_count":21036447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T17:41:56.052Z","updated_at":"2026-03-08T02:04:49.993Z","avatar_url":"https://github.com/stelligent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stellitime-api \n\n## Small sample program to facilitate discussions\n\n### Description\n\n./app.py invokes a get() or post() operation, depending on absense or presence of a payload argument consisting of a JSON payload containing a \"message\" string property.\n\nThe counter value is stored in a DynamoDB table that has a single row with `id` and `counter_value` attributes.  The key field `id` can be overridden by `export COUNTER_KEY=some-key`.  \n\n * the `get()` function returns a JSON payload: \n    * current time \n    * current counter_value from the DynamoDB table\n    * and the message `Automation For The People`\n\n * the `put()` function takes a JSON payload containing a `message` property as input, and also returns a JSON payload: \n    * current time \n    * incremented counter_value from the DynamoDB table\n    * and a copy of message that was passed on the command line.\n \n## Setup:\n\nType `make all` to:\n * install python3 prerequisites stored in `requirements.txt`\n * deploy a tiny Cloudformation stack creating the DynamoDB table.\n\n## Example Usage:\n\n * The retrieve the current time and the current counter value (the `get()` function):\n    ```\n    ./app.py\n    ```\n * To echo an arbitary message, and increment the counter (the `put()` function):\n    ```\n    ./app.py '{ \"message\" : \"some-string\" }' \n    ```\n\n### Example Output\n\n\u003cdiv style='margin-left: 3rem;'\u003e\n    \u003cimg src='images/usage.png' /\u003e\n    (colorization courtesy of `jq`)\n\u003c/div\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstelligent%2Fstellitime-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstelligent%2Fstellitime-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstelligent%2Fstellitime-api/lists"}