{"id":17603135,"url":"https://github.com/yjg30737/typescript-crud-example","last_synced_at":"2025-08-18T18:10:13.293Z","repository":{"id":108707570,"uuid":"544650843","full_name":"yjg30737/typescript-crud-example","owner":"yjg30737","description":"Basic typescript CRUD example","archived":false,"fork":false,"pushed_at":"2022-10-03T01:26:14.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T02:46:19.203Z","etag":null,"topics":["backend","class-validator","crud","javascript","mybatis","mybatis-mapper","nodejs","restapi","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/yjg30737.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-03T01:23:16.000Z","updated_at":"2024-11-11T23:29:12.000Z","dependencies_parsed_at":"2023-03-22T01:18:32.935Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/typescript-crud-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjg30737/typescript-crud-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-crud-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-crud-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-crud-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-crud-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/typescript-crud-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-crud-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271036078,"owners_count":24688553,"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-08-18T02:00:08.743Z","response_time":89,"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":["backend","class-validator","crud","javascript","mybatis","mybatis-mapper","nodejs","restapi","typescript"],"created_at":"2024-10-22T13:40:59.969Z","updated_at":"2025-08-18T18:10:13.268Z","avatar_url":"https://github.com/yjg30737.png","language":"TypeScript","readme":"# typescript-crud-example\nBasic CRUD server using TypeScript, class-validator, \u003ca href=\"https://www.npmjs.com/package/mybatis-mapper\"\u003emybatis-mapper\u003c/a\u003e.\n\n## Usage\n\n1. git clone ~\n2. import sql file in db directory\n3. change the .env\n4. npm i\n5. npm start\n\n※ if MODULE_NOT_FOUND happens then go back to 5(You will do it only one time after clone this)\n\n## Note\n### Why MODULE_NOT_FOUND error can be occured\n\npackage.json:\n```json\n...\n  \"scripts\": {\n    \"start\": \"concurrently \\\"tsc -w\\\" \\\"nodemon dist/app\\\"\",\n    \"test\": \"echo \\\"Error: no test specified\\\" \u0026\u0026 exit 1\"\n  },\n...\n```\n`concurrently \\\"tsc -w\\\" \\\"nodemon dist/app\\\"`\n\n`concurrently` executes the command (almost) at the same time. \n\nSo `tsc -w` and `nodemon` dist/app will be executed simultaneously, it can be happen that \n\n`nodemon dist/app` can be executed before `tsc -w` is executed.\n\n### Test with Postman\n\nBODY should be raw-json type. \n\n```json\n{\n    \"name\": \"John\",\n    \"age\": 44,\n    \"job\": \"Freeloader\"\n}\n```\n\nFor the sake of class-validation. If you don't send the request with raw-json, validation will be failed because all integers which is supposed to be integer send as string.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Ftypescript-crud-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Ftypescript-crud-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Ftypescript-crud-example/lists"}