{"id":24746669,"url":"https://github.com/samuelmarks/captivote-rest-api","last_synced_at":"2026-05-08T05:02:31.634Z","repository":{"id":150265199,"uuid":"138396838","full_name":"SamuelMarks/captivote-rest-api","owner":"SamuelMarks","description":"Captivote [Node.js] rest-api","archived":false,"fork":false,"pushed_at":"2018-06-23T11:54:03.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:27:55.500Z","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":"2018-06-23T11:45:19.000Z","updated_at":"2019-07-06T11:56:55.000Z","dependencies_parsed_at":"2023-05-05T10:48:02.617Z","dependency_job_id":null,"html_url":"https://github.com/SamuelMarks/captivote-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamuelMarks/captivote-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcaptivote-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcaptivote-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcaptivote-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcaptivote-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMarks","download_url":"https://codeload.github.com/SamuelMarks/captivote-rest-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcaptivote-rest-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259584751,"owners_count":22880194,"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:54.683Z","updated_at":"2025-10-12T23:02:20.468Z","avatar_url":"https://github.com/SamuelMarks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"captivote-rest-api\n====================\n\nCaptivote [Node.js] rest-api created with [TypeORM](https://github.com/typeorm/typeorm) with [TypeScript](https://github.com/Microsoft/TypeScript) in Node.js ([restify](http://restify.com/)).\n\n\n## Install prerequisites\n\n### Node\n\n  0. node \u0026 npm (tested with node v8)\n  1. Run: `npm install -g typings typescript bunyan`\n  2. `cd` to directory you've cloned this repo into\n  3. Run: `typings install`\n  4. Run: `npm install`\n\n### External\n\n  - Database, e.g.: Postgres. Set `RDBMS_URI` env var accordingly, e.g.: `postgres://username:password@hostname/database_name`. Modify [config.ts](https://github.com/SamuelMarks/captivote-rest-api/blob/master/config.ts) to use a different database.\n  - Redis. Set `REDIS_URL` env var accordingly; otherwise defaults are used.\n  - Set: `DEFAULT_ADMIN_EMAIL` and `DEFAULT_ADMIN_PASSWORD` env vars\n\n## Compile+run app\n\n    tsc\n    node main.js\n\n## Misc\n\n### Cleanup compiled output\n\nWhen not add *.js to `.gitignore`, clean out compiled js with this GNU findutils solution:\n\n    find -name '*.js.map' -type f -exec bash -c 'rm \"${1}\" \"${1%????}\"' bash {} \\;\n\nOr delete all '*.js' outside of `node_modules` with:\n\n    find \\( -name node_modules -prune \\) -o -name '*.js' -type f -exec rm {} \\;find \\( -name node_modules -prune \\) -o -name '*.js' -type f -exec rm {} \\;\n\nMore complicated solution handling \"foo.ts\" \u0026 \"foo.js\" without \"foo.js.map\" coming at some point.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fcaptivote-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmarks%2Fcaptivote-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fcaptivote-rest-api/lists"}