{"id":22971387,"url":"https://github.com/cx0der/time-service","last_synced_at":"2025-10-26T06:37:22.105Z","repository":{"id":205611762,"uuid":"162806003","full_name":"cx0der/time-service","owner":"cx0der","description":"A simple microservice to covert between unix time and Human readable time","archived":false,"fork":false,"pushed_at":"2018-12-22T11:41:38.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T06:17:07.062Z","etag":null,"topics":["docker","microservice","spring-boot"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/cx0der.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-22T11:33:58.000Z","updated_at":"2018-12-22T11:41:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"783ddb32-c852-4e81-82e4-1dde6b989db8","html_url":"https://github.com/cx0der/time-service","commit_stats":null,"previous_names":["cx0der/time-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cx0der/time-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cx0der%2Ftime-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cx0der%2Ftime-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cx0der%2Ftime-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cx0der%2Ftime-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cx0der","download_url":"https://codeload.github.com/cx0der/time-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cx0der%2Ftime-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281068936,"owners_count":26438554,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","microservice","spring-boot"],"created_at":"2024-12-14T22:17:30.123Z","updated_at":"2025-10-26T06:37:22.073Z","avatar_url":"https://github.com/cx0der.png","language":"Java","readme":"# Timestamp Microservice\n\nMicroservice to convert between Unix time and Human readable time. Given a unix time like `1534032000000` the service \nwill convert to a human readable form like `Sun Aug 12 00:00:00 UTC 2018`.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nRun the Microservice only requirement is Docker. To develop and test\n\n* Favorite text editor for IDE\n* JDK 1.8 or Later\n* Gradle 5+\n\n```\n$ git clone https://github.com/cx0der/time-service\n$ cd time-service\n$ ./gradlew build\n```\n\n## Running the tests\n\nRun tests using\n\n```\n$ ./gradlew test\n```\n\n## Deployment\n\nFollow these steps to build the application, docker image and run the docker image\n\n```\n$ ./gradlew build\n$ docker build --build-arg JAR_FILE=build/libs/timeservice-1.0.0.jar -t timeservice .\n$ docker run -t --rm -p 8080:8080 timeservice\n```\n\nThese should get the Docker container running. Open up another terminal and run\n\n```\n$ curl \"http://localhost:8080/timestamp/1534032000000\"\n```\n\nAnd our microservice should respond back with\n\n```\n{\"utc\":\"Sun Aug 12 00:00:00 UTC 2018\",\"unixTime\":1534032000000}%\n```\n\n## Built With\n\n* [Spring Boot](https://spring.io/) - The web framework used\n* [gradle](https://gradle.org/) - Dependency Management\n* [Docker](https://www.docker.com/) - Used to generate RSS Feeds\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n\n* Inspired from the Microservices project defined in [FreeCodeCamp](https://learn.freecodecamp.org/apis-and-microservices/apis-and-microservices-projects/timestamp-microservice)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcx0der%2Ftime-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcx0der%2Ftime-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcx0der%2Ftime-service/lists"}