{"id":20864719,"url":"https://github.com/the-strategy-unit/aging_pop_web_app","last_synced_at":"2026-04-27T02:33:43.744Z","repository":{"id":239162464,"uuid":"794007514","full_name":"The-Strategy-Unit/aging_pop_web_app","owner":"The-Strategy-Unit","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T12:00:17.000Z","size":811024,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T19:45:30.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://the-strategy-unit.github.io/aging_pop_web_app","language":"JavaScript","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/The-Strategy-Unit.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-30T09:28:13.000Z","updated_at":"2025-05-30T09:05:19.000Z","dependencies_parsed_at":"2025-03-11T10:34:41.834Z","dependency_job_id":null,"html_url":"https://github.com/The-Strategy-Unit/aging_pop_web_app","commit_stats":null,"previous_names":["the-strategy-unit/aging_pop_web_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/The-Strategy-Unit/aging_pop_web_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2Faging_pop_web_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2Faging_pop_web_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2Faging_pop_web_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2Faging_pop_web_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Strategy-Unit","download_url":"https://codeload.github.com/The-Strategy-Unit/aging_pop_web_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2Faging_pop_web_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32320522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":"2024-11-18T05:44:02.921Z","updated_at":"2026-04-27T02:33:43.720Z","avatar_url":"https://github.com/The-Strategy-Unit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# App instructions\n\n## Running the development app\n\nAfter cloning this repo or pulling changes run:\n\n``` sh\nnpm ci\n```\n\nto install the JavaScript dependencies. Then run:\n\n``` sh\nnpm run extract-data\n```\n\nto extract the data from the zip file app/data.zip. Repeat this task whenever the app/data.zip file is changed.\n\n\nTo run the app:\n\n``` sh\nnpm run start\n```\n\nThis should open the app at [http://localhost:8000/](http://localhost:8000/).\n\n## Building for Production\n\nTo build the production version of the app, run:\n\n``` sh\nnpm run dist\n```\n\nThe dist/ directory should now be ready for deployment to a remote server.\n\n## Directory structure\n\n### .husky/\n\nThis folder contains code for running pre-commit hooks. This is so we can check the JavaScript meets the linting rules before committing. If you need to skip this for some reason (e.g. you want to commit some work-in-progress), add `--no-verify` to your git instruction. e.g.:\n\n``` sh\ngit commit -m \"WIP\" --no-verify\n```\n\n### app/\n\nThis is the development app. Inside there are folders for cascading style sheets (css/), the JSON data (data/, after running `npm run extract-data`), HTML (html/) and JavaScript. The src/ directory contains the uncompiled JavaScript. The js/ directory contains JavaScript \"compiled\" from the src directory (after running `npm run start`, for example). The index.html page at the top of the directory is the root page for the development app.\n\n### dist/\n\nThe production version of the app, ready for \"distribution\" to a remote server. In this app the JavaScript and CSS have been minified and sit at the top level. The data files have been individually gzipped.\n\n### node_modules/\n\nAfter running `npm ci` this directory will contain all the required third-party JavaScript dependencies. You shouldn't need to edit this folder or reference it directly.\n\n### . (root)\n\nThe root of this project contains this README and a numer of config files:\n- .eslintrc.json: JavaScript linting rules\n- .gitignore: patterns describing directories and files that git should ignore\n- bs-config.json: configuration information for the local development server\n- package-lock.json: instructions about which specific version of each third-party package the app should use. It's regenerated if you run `npm install` and referenced when running `npm ci`. You shouldn't need to edit this file directly.\n- package.json: configuration for the package as a whole. This contains, among other things, various bits of metadata, shell commands to run using `npm run` and two lists of package dependencies: \"devDependencies\" that are used to build the app and \"dependencies\" that are used in the app.\n- rollup.config-dist.mjs: instructions for building the \"compiled\" JavaScript code for the dist directory (i.e. dist/script.min.js).\n- rollup.config-dist.mjs: instructions for building the \"compiled\" JavaScript code for the development app (i.e. app/src/script.js).\n\n## npm scripts\n\nThe package.json file defines several shell scripts that can be run using `npm run \u003cscript-name\u003e`. Several of them are there simply to make the other scripts shorter and can largely be ignored. The following scripts you may have/want to use directly:\n\n- dist: Build the production version of the app.\n- extract-data: extract the data from app/data.zip.\n- lint: run the JavaScript linting instructions to see if there are any issues.\n- lint:fix: run the JavaScript linting instructions to see if there are any issues and fix any that can be automatically fixed.\n- start: build the local development app and run it on a local server .","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-strategy-unit%2Faging_pop_web_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-strategy-unit%2Faging_pop_web_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-strategy-unit%2Faging_pop_web_app/lists"}