{"id":24775676,"url":"https://github.com/inseefr/drama-queen","last_synced_at":"2026-04-01T19:39:12.939Z","repository":{"id":153030664,"uuid":"626329055","full_name":"InseeFr/Drama-Queen","owner":"InseeFr","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-30T12:54:41.000Z","size":7188,"stargazers_count":1,"open_issues_count":16,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-03-30T14:39:11.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://inseefr.github.io/Drama-Queen/","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/InseeFr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-11T08:48:26.000Z","updated_at":"2026-03-30T12:53:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b720aba-1aa0-40e9-b868-c20d04bac9a0","html_url":"https://github.com/InseeFr/Drama-Queen","commit_stats":null,"previous_names":[],"tags_count":211,"template":false,"template_full_name":null,"purl":"pkg:github/InseeFr/Drama-Queen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FDrama-Queen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FDrama-Queen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FDrama-Queen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FDrama-Queen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InseeFr","download_url":"https://codeload.github.com/InseeFr/Drama-Queen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FDrama-Queen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-29T06:55:16.096Z","updated_at":"2026-04-01T19:39:12.910Z","avatar_url":"https://github.com/InseeFr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drama Queen\n\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=InseeFr_Drama-Queen\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=InseeFr_Drama-Queen)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=InseeFr_Drama-Queen\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=InseeFr_Drama-Queen)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=InseeFr_Drama-Queen\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=InseeFr_Drama-Queen)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=InseeFr_Drama-Queen\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=InseeFr_Drama-Queen)\n\nWeb application for the management of questionnaires powered by Lunatic (https://github.com/InseeFr/Lunatic).\n\n[**Documentation de Drama-Queen**](https://inseefr.github.io/Drama-Queen/)\n\n## Getting Started\n\n```\npnpm install\npnpm run dev\npnpm run build\n```\n\n## Architecture explained\n\nDrama Queen use the clean architecture to create a new feature add a new use case.\n\nThis is the minimal structure to make a useCase work. Feel free to split into multiple file if your use case becomes too big.\n\n```ts\nimport { createSelector, createUsecaseActions } from 'redux-clean-architecture'\nimport { id } from 'tsafe/id'\n\nimport type { State as RootState, Thunks } from '@/core/bootstrap'\n\nconst state = (state: RootState) =\u003e state[name]\nexport const name = 'usecase-name'\n\nexport type State = {\n  count: number\n}\n\nexport const { reducer, actions } = createUsecaseActions({\n  name,\n  initialState: id\u003cState\u003e({\n    counter: 0,\n  }),\n  reducers: {\n    increment: (state, { payload }: { payload: number }) =\u003e {\n      state.count = state.count + payload\n    },\n    reset: (state) =\u003e {\n      state.count = 0\n    },\n  },\n})\n\nexport const thunks = {\n  setTo:\n    (params: { n: number }) =\u003e\n    async (...args) =\u003e {\n      const [dispatch, getState, context] = args\n      dispatch(actions.reset())\n      dispatch(actions.increment(n))\n    },\n} satisfies Thunks\n\nexport const selectors = {\n  count: createSelector(state, (state: State) =\u003e state.count),\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefr%2Fdrama-queen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finseefr%2Fdrama-queen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefr%2Fdrama-queen/lists"}