{"id":15176618,"url":"https://github.com/diegoaltoworks/ts-node-api","last_synced_at":"2026-01-27T02:34:31.136Z","repository":{"id":256547992,"uuid":"855691715","full_name":"diegoaltoworks/ts-node-api","owner":"diegoaltoworks","description":"I know, yet another ts boilerplate, with `tRPC` and `openapi.json` auto generated docs.","archived":false,"fork":false,"pushed_at":"2024-09-19T11:41:44.000Z","size":977,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T04:37:47.740Z","etag":null,"topics":["openapi","trpc","ts","typescript"],"latest_commit_sha":null,"homepage":"https://ts-node-api-3s3qtcl6ra-ez.a.run.app/","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/diegoaltoworks.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":"2024-09-11T09:55:04.000Z","updated_at":"2024-09-19T11:41:48.000Z","dependencies_parsed_at":"2024-10-11T04:41:01.761Z","dependency_job_id":"be039efb-6ae2-4a27-bdd1-ed559600f2a4","html_url":"https://github.com/diegoaltoworks/ts-node-api","commit_stats":null,"previous_names":["diegoaltoworks/ts-node-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diegoaltoworks/ts-node-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoaltoworks%2Fts-node-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoaltoworks%2Fts-node-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoaltoworks%2Fts-node-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoaltoworks%2Fts-node-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegoaltoworks","download_url":"https://codeload.github.com/diegoaltoworks/ts-node-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegoaltoworks%2Fts-node-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"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":["openapi","trpc","ts","typescript"],"created_at":"2024-09-27T13:21:51.770Z","updated_at":"2026-01-27T02:34:31.118Z","avatar_url":"https://github.com/diegoaltoworks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-node-api\n\nYet another ts boilerplate. With `tRPC` and `openapi.json` auto generated docs.\n\nMy aim was to create something,\n\n- simple and flexible\n- maximum reusability\n- minimal configuration\n- with as few dependencies as possible\n\n# Features\n\nTODO: describe\n\n- env: dotenvx\n- dev: pm2 and tsx\n- test: vitest\n- build: tsc\n- docker: build \u0026 deploy\n- gcloud: build \u0026 deploy\n\n# Development\n\nTODO: description of features\n\nTODO: environment config\n\n- use .env.local with dotenvx\n- dynamic secret loader with local dev key from [Secret Manager](https://console.cloud.google.com/security/secret-manager)\n\n# Testing\n\nTODO: description of dev environment and features\nTODO: testing with github actions\n\n# Build \u0026 Deploy\n\n## Deploy to docker\n\nDockerfile included, modify as needed.\nThe following commands are included for convenience, modify as needed.\n\n- npm run docker:build\n- npm run docker:start\n\n## Deploy to Google Cloud Platform\n\nThe following commands are included for convenience, modify as needed.\n\n- npm run gcloud:build\n- npm run gcloud:deploy\n\nRecommended steps\n\n- Use [Secret Manager](https://console.cloud.google.com/security/secret-manager) to store environment variables\n- Create a [service account](https://console.cloud.google.com/iam-admin/serviceaccounts) with the necessary permissions\n  - grant this account\n    - secret manager secret acessor\n    - cloud run user\n    - service account user\n\n`npm run gcloud:deploy` will load the secrets directly to the cloud run service.\n\n## Deploy from github action to Google Cloud Platform\n\nTODO: testing with github actions\n\n# Stack\n\n- [typescript](https://www.typescriptlang.org/)\n- [gts](https://github.com/google/gts) ([eslint](https://github.com/eslint/eslint) / [prettify](https://github.com/prettier/prettier) without [bikeshedding](https://lloydmelnick.com/2020/06/17/how-to-avoid-meetings-about-the-trivial-aka-bikeshedding/))\n- [express](https://expressjs.com/)\n- [pm2](https://pm2.keymetrics.io/)\n- [zod](https://github.com/colinhacks/zod)\n- [vitest](https://github.com/vitejs/vite)\n- [supertest](https://github.com/visionmedia/supertest)\n- [docker](https://www.docker.com/)\n- [winston](https://github.com/winstonjs/winston)\n- [sentry](https://sentry.io/)\n- [newrelic](https://newrelic.com/)\n\n# Inspiration\n\nTODO: give credit to helpful packages and content creators\n\n# even more TODO\n\n- actually complete this readme.\n- sample schemas\n- zod to openapi generation\n- openapi to docs generation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegoaltoworks%2Fts-node-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegoaltoworks%2Fts-node-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegoaltoworks%2Fts-node-api/lists"}