{"id":19774624,"url":"https://github.com/yeukfei02/ecommerce-api-spring","last_synced_at":"2026-04-13T00:12:15.011Z","repository":{"id":47602728,"uuid":"516201604","full_name":"yeukfei02/ecommerce-api-spring","owner":"yeukfei02","description":"ecommerce-api-spring","archived":false,"fork":false,"pushed_at":"2023-12-15T08:22:16.000Z","size":119,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T01:27:18.867Z","etag":null,"topics":["docker","java","kotlin","postgres","spring"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/yeukfei02.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}},"created_at":"2022-07-21T02:46:48.000Z","updated_at":"2025-01-08T11:48:34.000Z","dependencies_parsed_at":"2022-09-09T20:42:15.333Z","dependency_job_id":null,"html_url":"https://github.com/yeukfei02/ecommerce-api-spring","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fecommerce-api-spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fecommerce-api-spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fecommerce-api-spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeukfei02%2Fecommerce-api-spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeukfei02","download_url":"https://codeload.github.com/yeukfei02/ecommerce-api-spring/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241105519,"owners_count":19910647,"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":["docker","java","kotlin","postgres","spring"],"created_at":"2024-11-12T05:13:27.749Z","updated_at":"2026-04-13T00:12:14.769Z","avatar_url":"https://github.com/yeukfei02.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecommerce-api-spring\n\necommerce-api-spring\n\ndocumentation: \u003chttps://documenter.getpostman.com/view/3827865/UzR1JhYe\u003e\n\n## Requirement\n\n- install java (v11+)\n\n## Testing and run\n\n```zsh\n// show gradle all tasks\n$ ./gradlew tasks --all\n\n// build jar\n$ ./gradlew build\n\n// run jar\n$ java -jar build/libs/ecommerce-api-spring-1.0.0.jar\n\n// start project\n- run EcommerceApiSpringApplication.kt\n\n// db migrate info\n$ ./gradlew flywayInfo\n\n// db migrate\n$ ./gradlew flywayMigrate\n\n// check code style\n$ ./gradlew ktlintCheck\n\n// format code\n$ ./gradlew ktlintFormat\n\n// run test case\n$ ./gradlew test\n```\n\nopen project in intellij idea\n\nopen localhost:8080\n\n## Docker\n\n```zsh\n// build images and start container in one line\ndocker-compose up -d --build\n\n// go inside container\ndocker exec -it \u003ccontainerId\u003e /bin/bash\n\n// check container logs\ndocker logs \u003ccontainerId\u003e\n\n// remove and stop container\ndocker-compose down\n```\n\nopen localhost:8080","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeukfei02%2Fecommerce-api-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeukfei02%2Fecommerce-api-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeukfei02%2Fecommerce-api-spring/lists"}