{"id":31062744,"url":"https://github.com/kasutu/personal-trainer-server","last_synced_at":"2025-09-15T12:49:02.445Z","repository":{"id":301695418,"uuid":"1000914467","full_name":"kasutu/personal-trainer-server","owner":"kasutu","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-28T08:17:47.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-28T09:29:51.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/kasutu.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,"zenodo":null}},"created_at":"2025-06-12T14:11:47.000Z","updated_at":"2025-06-28T08:17:52.000Z","dependencies_parsed_at":"2025-06-28T09:29:59.143Z","dependency_job_id":"3ed26742-3e79-452e-8273-ad733d509146","html_url":"https://github.com/kasutu/personal-trainer-server","commit_stats":null,"previous_names":["kasutu/personal-trainer-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kasutu/personal-trainer-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasutu%2Fpersonal-trainer-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasutu%2Fpersonal-trainer-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasutu%2Fpersonal-trainer-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasutu%2Fpersonal-trainer-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasutu","download_url":"https://codeload.github.com/kasutu/personal-trainer-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasutu%2Fpersonal-trainer-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275260484,"owners_count":25433379,"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-09-15T02:00:09.272Z","response_time":75,"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":[],"created_at":"2025-09-15T12:49:00.724Z","updated_at":"2025-09-15T12:49:02.366Z","avatar_url":"https://github.com/kasutu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# personal-trainer-server\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nTo run:\n\n```bash\nbun run index.ts\n```\n\nThis project was created using `bun init` in bun v1.2.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n\n## Creating New Endpoint Flow\n\n1. `services` (interacts with drivers, no try catch)\n   1.1. `workflows` (contains complex logic, interact with services)\n2. `controllers` (interacts with services/workflows, has try catch, errors are forwarded to express)\n3. `routes` (interacts with controllers, manages request, calls the correct controllers)\n\n   ## Remarks\n\n   - Ensure that each route file correctly exports a route class using the `export default` syntax.\n   - If the module fails to export a default class (for example, if named exports are used), an error will occur.\n\n   ### Example\n\n   ```javascript\n   // Correct export of a route class\n   export default class MyRoute extends Routes {\n     // Route implementation...\n   }\n   ```\n\n## Notes on hard deletes\n\nhopefully we dont use this normally will use this when data is not needed for auditing\n\nNext steps:\n\n- require token when calling this funtion\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasutu%2Fpersonal-trainer-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasutu%2Fpersonal-trainer-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasutu%2Fpersonal-trainer-server/lists"}