{"id":24668835,"url":"https://github.com/koolamusic/daccred-api","last_synced_at":"2026-05-20T10:08:43.483Z","repository":{"id":101617404,"uuid":"428009964","full_name":"koolamusic/daccred-api","owner":"koolamusic","description":"on chain credibility","archived":false,"fork":false,"pushed_at":"2022-01-25T17:14:46.000Z","size":10695,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T09:17:41.067Z","etag":null,"topics":["binance","chainlink","chainlink-adapter","moralis"],"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/koolamusic.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}},"created_at":"2021-11-14T18:37:42.000Z","updated_at":"2023-03-04T05:13:11.000Z","dependencies_parsed_at":"2023-06-06T14:45:17.918Z","dependency_job_id":null,"html_url":"https://github.com/koolamusic/daccred-api","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/koolamusic%2Fdaccred-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koolamusic%2Fdaccred-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koolamusic%2Fdaccred-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koolamusic%2Fdaccred-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koolamusic","download_url":"https://codeload.github.com/koolamusic/daccred-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244804601,"owners_count":20513142,"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":["binance","chainlink","chainlink-adapter","moralis"],"created_at":"2025-01-26T09:17:46.011Z","updated_at":"2026-05-20T10:08:38.420Z","avatar_url":"https://github.com/koolamusic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPI Daccred\n\nManage Metadata, File uploads and transformation in the cloud.\n\n## Notes\n\nConfiguring `jest` using `package.json` we can either use these matching options, one to check according to file extensions `.spec.ts` or `.test.ts` or collocate all tests in a `__tests__` directory, currently unresolved on to manage this. See settings below\n\n```js\n// Matching according to folder\n  \"testMatch\": [\n    \"**/__tests__/*.+(ts|tsx|js)\"\n  ],\n\n  // Match according to file extension\n  \"testRegex\": \"\\\\.spec\\\\.ts\",\n```\n\nNodemon Config\n\n```json\n{\n  \"restartable\": \"rs\",\n  \"ignore\": [\n    \".git\",\n    \"node_modules/**/node_modules\",\n    \"__tests__\",\n    \"src/__generated__\"\n  ],\n  \"verbose\": true,\n  \"execMap\": {\n    \"ts\": \"node --require ts-node/register\"\n  },\n  \"exec\": \"ts-node-dev --respawn --transpile-only src/entry.ts\",\n  \"watch\": [\n    \"src/\",\n    \"dist/\"\n  ],\n  \"env\": {\n    \"NODE_ENV\": \"development\"\n  },\n  \"ext\": \"js,json,ts,graphql\"\n}\n```\n\nThe execMap defines which binary nodemon uses to execute `*.ts` file extensions see this (article)[https://www.digitalocean.com/community/tutorials/workflow-nodemon] which the exec command disregards that and executes the command, think of it as `ENTRYPOINT` versus `CMD` in docker. To only watch transpiles in dev `NODE_ENV=development TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true nodemon src/entry.ts`\n\n```json\n/* Using SWC or other compilers to speed up development builds */\n  \"scripts\": {\n    \"build\": \"run-s build:clean build:code\",\n    \"build:clean\": \"rimraf dist\",\n    \"build:code\": \"tsc\",\n    \"checks\": \"tsc --pretty \u0026\u0026 yarn test\",\n    \"dev\": \"cross-env NODE_ENV=development ts-node-dev --respawn --transpile-only src/entry.ts\",\n    \"dev:swc\": \"cross-env NODE_ENV=development npx swc src -d build --watch \u0026\u003e /dev/null \u0026\u0026 nodemon build/entry.js\",\n    \"dev:tsc\": \"cross-env NODE_ENV=development TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true nodemon ts-node src/entry.ts\",\n    \"dev:debug\": \"nodemon --inspect src/entry.ts\",\n    \"format\": \"prettier --write **/*.{js,ts}\",\n    \"lint\": \"eslint . --ext .ts\",\n    \"lint:fix\": \"eslint . --ext .ts --fix\",\n    \"restart\": \"run-s build \u0026\u0026 node dist/entry.js\",\n    \"start\": \"node dist/entry.js\",\n    \"test\": \"jest --no-cache --testTimeout 20000\"\n  }\n// NODE_ENV=development TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true yarn ts-node src/entry.ts\n\n```\n\n```js\n    store.pages.forEach((page) =\u003e {\n      page.children.forEach((el) =\u003e {\n        // skip non text\n        if (el.type !== \"text\") {\n          return;\n        }\n        // skip if no special value\n        if (!el.custom?.variableText) {\n          return;\n        }\n        const changed = el.text !== el.custom?.variableText;\n        if (changed) {\n          el.set({\n            text: el.custom?.variableText\n          });\n        }\n      });\n    });\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoolamusic%2Fdaccred-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoolamusic%2Fdaccred-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoolamusic%2Fdaccred-api/lists"}