{"id":23161289,"url":"https://github.com/slicequeue/k-data-go-openapi-lab","last_synced_at":"2025-04-04T19:29:06.898Z","repository":{"id":234873479,"uuid":"704546530","full_name":"slicequeue/k-data-go-openapi-lab","owner":"slicequeue","description":"공공 데이터 오픈API 실험실 입니다. 공공 데이터 OpenAPI 활용한 실험하는 곳이며, 사용이 용이하다고 판단이 되면 다른 프로젝트에서 활용하기 좋게 모듈로 만드는 작업공간입니다.","archived":false,"fork":false,"pushed_at":"2024-06-06T10:31:02.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T04:29:44.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/slicequeue.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,"publiccode":null,"codemeta":null}},"created_at":"2023-10-13T13:44:20.000Z","updated_at":"2024-08-01T14:21:25.000Z","dependencies_parsed_at":"2024-06-05T16:03:00.234Z","dependency_job_id":"22ac18b7-dafe-46c2-ba58-a85ccfe8e813","html_url":"https://github.com/slicequeue/k-data-go-openapi-lab","commit_stats":null,"previous_names":["slicequeue/gov-api-proxy-server","slicequeue/k-data-go-openapi-lab"],"tags_count":0,"template":false,"template_full_name":"slicequeue/nodejs-express-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fk-data-go-openapi-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fk-data-go-openapi-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fk-data-go-openapi-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fk-data-go-openapi-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slicequeue","download_url":"https://codeload.github.com/slicequeue/k-data-go-openapi-lab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247237208,"owners_count":20906259,"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-12-17T23:13:50.292Z","updated_at":"2025-04-04T19:29:06.875Z","avatar_url":"https://github.com/slicequeue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 개요\n\n공공 데이터 오픈API 실험실입니다. [공공데이터포털](https://www.data.go.kr) 에서 제공하는 공공 데이터 OpenAPI 에서 활용하고자 하는 것들을 신청하여 사용합니다.\n공공 데이터 OpenAPI를 실험하는 공간이며, 활용이 용이하다고 판단되면 다른 프로젝트에서 쉽게 사용할 수 있도록 모듈로 만드는 작업을 진행합니다. \n\n## 처리 단계\n\n1. 공공 데이터 OpenAPI 사용 대상 활용 신청\n2. API 호출 테스트\n3. 요청 \u0026 응답 데이터 분석\n4. 맵퍼 및 서비스 구현\n5. 모듈화\n\n이 단계를 반복적으로 수행하여 여러 OpenAPI를 사용을 경험해보고 필요한 프로젝트에서 구현한 모듈을 활용하는데 의의가 있습니다.\n\n지금까지 진행한 공공데이터 OpenAPI 목록\n* `국토교통부_(TAGO)_지하철정보`: https://www.data.go.kr/data/15098554/openapi.do\n  * 작업 경로: /src/gov/tago-subway\n* `서울특별시_위치정보조회서비스`: https://www.data.go.kr/data/15000332/openapi.do\n  * 작업 경로: /src/gov/bus.js\n* `식품의약품안전처_식품영양성분DB정보`: https://www.data.go.kr/data/15127578/openapi.do\n  * 작업 경로: /src/gov/food\n\n## 설치 방법\n\n실행을 위한 노드 모듈들을 설치합니다.\n\n```bash\n$ npm install\n```\n\n핵심 모듈 설명\n* `axios`: 공공데이터 API 호출용\n* `express`: 테스트 API 호출을 위한 노드 서버 프레임워크\n* `dotenv` : 환경 변수 설정\n\n그외 어떤 노드 모듈들을 사용하는지 자세한 내역은 `package.json` 을 참고하시기 바랍니다. (불필요한 의존성 제거 예정)\n\n## 환경 변수 설정\n\n환경 설정 파일을 build 한 경로 내부에 설정해야함\n`/config` 경로에 아래 파일을 생성한다.\n.\u003cNODE_ENV환경변수값\u003e.env \n설정 내용은 다음과 같다.\n\n```dotnetcli\nGOV_API_KEY=\u003c공공데이터OpenAPI발급키값\u003e\n```\n\n- 위 설정을 사용은 config 이용하여 처리함\n    \n## 애플리케이션 실행\n\n호출 테스트를 위한 API Express 서버를 실행합니다.\n\n```bash\n$ npm start\n```\n\n## 연락처\n\n- Author - slicequeue@gmail.com\n\n\n\n## 라이센스\nMIT 라이센스를 따릅니다. 자세한 내용은 LICENSE 파일을 참조하세요.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslicequeue%2Fk-data-go-openapi-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslicequeue%2Fk-data-go-openapi-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslicequeue%2Fk-data-go-openapi-lab/lists"}