{"id":24746603,"url":"https://github.com/samuelmarks/restify-orm-framework","last_synced_at":"2025-03-23T01:23:23.047Z","repository":{"id":150265417,"uuid":"59985579","full_name":"SamuelMarks/restify-orm-framework","owner":"SamuelMarks","description":"[old version, use https://github.com/SamuelMarks/restify-orm-scaffold now] Utility functions for integrating ORMs with restify; framework-style","archived":false,"fork":false,"pushed_at":"2018-01-12T12:41:48.000Z","size":79,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T04:31:59.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/SamuelMarks.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":"2016-05-30T06:25:25.000Z","updated_at":"2021-09-27T20:58:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f8a2a71-2ec3-4c65-a63b-3a9bc78021ce","html_url":"https://github.com/SamuelMarks/restify-orm-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Frestify-orm-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Frestify-orm-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Frestify-orm-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Frestify-orm-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMarks","download_url":"https://codeload.github.com/SamuelMarks/restify-orm-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245042144,"owners_count":20551525,"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":"2025-01-28T04:29:32.129Z","updated_at":"2025-03-23T01:23:23.032Z","avatar_url":"https://github.com/SamuelMarks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"restify-orm-framework\n=====================\n\nUtility functions for integrating ORMs with restify; framework-style.\n\nIf using TypeScript, install `typings` with:\n\n    typings install github:SamuelMarks/restify-orm-framework/restify-orm-framework.d.ts --save\n\nOtherwise just use the [restify-orm-framework-dist](https://github.com/SamuelMarks/restify-orm-framework-dist) compiled output.\n\n## Supports\n\n - [Sequelize](https://github.com/sequelize/sequelize)\n - [TypeORM](https://github.com/typeorm/typeorm)\n - [Waterline](https://github.com/balderdashy/waterline)\n\n## Idea\n\nHave this directory structure:\n\n    ── main.[js|ts]\n    ── api\n    │   ├── auth\n    │   │   ├── middleware.[js|ts]\n    │   │   ├── models.[js|ts]\n    │   │   └── routes.[js|ts]\n    │   └── user\n    │       ├── models.[js|ts]\n    │       ├── routes.[js|ts]\n    │       └── utils.[js|ts]\n\nWhere the main file doesn't import any models or routes explicitly.\n\nModels, routes and tests can be cleanly isolated also.\n\nExample: [restify-orm-scaffold](https://github.com/SamuelMarks/restify-orm-scaffold)\n\n## Miscellaneous\n\nClone [restify-orm-framework-dist](https://github.com/SamuelMarks/restify-orm-framework-dist) one dir above where this repo was cloned, then synchronise with:\n\n    find -type f -not -name \"*.ts\" -and -not -path \"./.git/*\" -and -not -path \"./node-modules/*\" -and -not -name '*.map' | cpio -pdamv ../restify-orm-framework-dist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Frestify-orm-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmarks%2Frestify-orm-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Frestify-orm-framework/lists"}