{"id":29153998,"url":"https://github.com/comeonyo/ktor-ddd-sample","last_synced_at":"2025-07-01T02:03:54.992Z","repository":{"id":229755661,"uuid":"777502613","full_name":"comeonyo/ktor-ddd-sample","owner":"comeonyo","description":"ktor-ddd-sample","archived":false,"fork":false,"pushed_at":"2024-04-01T04:35:18.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-01T05:34:47.849Z","etag":null,"topics":["exposed","kotlin","ktor"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/comeonyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-26T01:00:24.000Z","updated_at":"2024-03-26T08:55:01.000Z","dependencies_parsed_at":"2024-03-29T03:28:15.716Z","dependency_job_id":null,"html_url":"https://github.com/comeonyo/ktor-ddd-sample","commit_stats":null,"previous_names":["comeonyo/ktor-ddd-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/comeonyo/ktor-ddd-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comeonyo%2Fktor-ddd-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comeonyo%2Fktor-ddd-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comeonyo%2Fktor-ddd-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comeonyo%2Fktor-ddd-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comeonyo","download_url":"https://codeload.github.com/comeonyo/ktor-ddd-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comeonyo%2Fktor-ddd-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262881838,"owners_count":23378928,"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":["exposed","kotlin","ktor"],"created_at":"2025-07-01T02:03:21.665Z","updated_at":"2025-07-01T02:03:54.982Z","avatar_url":"https://github.com/comeonyo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KTOR-DDD-SAMPLE\nThis is a sample project to demonstrate how to build a RESTful API using Ktor and DDD.\n\n## Stack\n\n- Kotlin\n- Ktor\n- Koin\n- exposed\n\n## 주요 구성 요소:\nApplication.kt: 애플리케이션의 시작점입니다. 서버 설정과 초기화 로직을 포함합니다.\n\nserver/: 서버 설정이 포함된 디렉토리입니다.  \n    config/: 애플리케이션의 구성 설정을 담당합니다.  \n    routes/: Ktor 라우팅 설정을 포함하여, API 엔드포인트의 정의가 이루어집니다.  \n      Routing.kt, UserRoutes.kt, OrderRoutes.kt, ProductRoutes.kt: 각각 라우팅 설정과 특정 도메인에 대한 API 경로를 정의합니다.  \n    features/: Ktor의 기능(미들웨어, 필터 등) 설정을 포함합니다.  \n\ndomain/: 비즈니스 로직과 도메인 모델을 포함합니다.\n   application/: 각 도메인(사용자, 주문, 제품)에 대한 애플리케이션 서비스를 정의합니다.  \n   di/: 의존성 주입 설정을 위한 Koin 모듈이 위치합니다.  \n   domain/: 각 도메인에 대한 엔티티, 리포지토리, 서비스, 데이터베이스 테이블 정의를 포함합니다.  \n\nexception/: 예외 처리 로직과 사용자 정의 예외 클래스를 포함합니다.  \n\ninfra/: 인프라스트럭처 관련 설정과 외부 서비스 통신 로직이 포함된 디렉토리입니다.  \n\ndatabase/: 데이터베이스 초기화 및 연결 설정을 담당합니다.  \nexternal/: 외부 시스템과의 통신을 관리합니다.  \n\nresources/: 애플리케이션의 설정 파일과 리소스가 위치하는 디렉토리입니다.\n   application.yaml: 애플리케이션의 구성을 정의하는 설정 파일입니다.  \n   logback.xml: 로깅 설정을 정의하는 파일입니다.  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomeonyo%2Fktor-ddd-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomeonyo%2Fktor-ddd-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomeonyo%2Fktor-ddd-sample/lists"}