{"id":15138710,"url":"https://github.com/alphagov/gds-nodejs-boilerplate","last_synced_at":"2025-09-29T08:31:13.484Z","repository":{"id":66249377,"uuid":"118612784","full_name":"alphagov/gds-nodejs-boilerplate","owner":"alphagov","description":"A Node.js project boilerplate for production apps","archived":true,"fork":false,"pushed_at":"2020-04-07T12:27:05.000Z","size":1588,"stargazers_count":19,"open_issues_count":1,"forks_count":7,"subscribers_count":63,"default_branch":"master","last_synced_at":"2024-09-27T07:43:45.860Z","etag":null,"topics":["express","govuk","javascript","mocha","nodejs","nunjucks","xo"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/alphagov.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":"2018-01-23T13:18:39.000Z","updated_at":"2023-11-28T12:33:43.000Z","dependencies_parsed_at":"2023-03-15T05:30:51.388Z","dependency_job_id":null,"html_url":"https://github.com/alphagov/gds-nodejs-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgds-nodejs-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgds-nodejs-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgds-nodejs-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgds-nodejs-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphagov","download_url":"https://codeload.github.com/alphagov/gds-nodejs-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234604461,"owners_count":18859164,"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":["express","govuk","javascript","mocha","nodejs","nunjucks","xo"],"created_at":"2024-09-26T07:43:50.585Z","updated_at":"2025-09-29T08:31:13.087Z","avatar_url":"https://github.com/alphagov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GDS Node.js boilerplate\n\nThis is a skeleton Node.js app running on [Express] with [Nunjucks] as a template engine.\n\nIt includes:\n- Grunt for compliation of sass/js\n- [GOV.UK Frontend]\n- [Browserify] with babelify and Nunjucksify\n- Mocha for testing\n- Middleware to set correlation headers\n- i18n language support\n- [Snyk]\n- [StandardJS] for linting\n- [nvm] (optional) for nodejs version\n\nTo get started clone the repo and run\n\n``` bash\n$ npm install\n$ npm start\n```\n(`npm install` might error about Snyk if it’s not set up but ignore for now)\n\nThen go to [http://localhost:3000/](http://localhost:3000/) to see it in action.\n\n### Using nvm (optional)\nIf you work across multiple Node.js projects there's a good chance they require different Node.js and npm versions.\n\nTo enable this we use [nvm (Node Version Manager)](https://github.com/creationix/nvm) to switch between versions easily.\n\n1. [install nvm](https://github.com/creationix/nvm#installation)\n2. Run `nvm install` in the project directory (this will use [.nvmrc](/../../.nvmrc))\n3. Follow the steps above to install and start\n\n[Express]: https://expressjs.com/\n[Nunjucks]: https://mozilla.github.io/nunjucks/\n[Snyk]: https://snyk.io/\n[GOV.UK Frontend]: https://design-system.service.gov.uk/\n[Browserify]: http://browserify.org/\n[StandardJS]: https://standardjs.com/\n[nvm]: https://github.com/creationix/nvm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fgds-nodejs-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphagov%2Fgds-nodejs-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fgds-nodejs-boilerplate/lists"}