{"id":15138673,"url":"https://github.com/rompiot/integration-setup","last_synced_at":"2026-01-19T22:01:39.394Z","repository":{"id":236628308,"uuid":"617733108","full_name":"RomPiot/integration-setup","owner":"RomPiot","description":"Front integration setup like twig or jinja2, no backend, and with live reloading and auto compile assets. Built with nunjucks, express, webpack, bootstrap","archived":false,"fork":false,"pushed_at":"2023-03-31T23:23:29.000Z","size":346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T10:47:48.942Z","etag":null,"topics":["bootstrap","express","expressjs","front-end-development","frontend","integration","jinja","jinja2","jinja2-templates","nunjucks","nunjucks-starter-kit","twig","twig-templates","webpack"],"latest_commit_sha":null,"homepage":"","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/RomPiot.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":"2023-03-23T01:49:29.000Z","updated_at":"2023-03-25T01:23:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"7864b83d-305d-41a0-9bce-1000e1107b52","html_url":"https://github.com/RomPiot/integration-setup","commit_stats":null,"previous_names":["rompiot/integration-setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RomPiot/integration-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomPiot%2Fintegration-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomPiot%2Fintegration-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomPiot%2Fintegration-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomPiot%2Fintegration-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RomPiot","download_url":"https://codeload.github.com/RomPiot/integration-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomPiot%2Fintegration-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28587061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"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":["bootstrap","express","expressjs","front-end-development","frontend","integration","jinja","jinja2","jinja2-templates","nunjucks","nunjucks-starter-kit","twig","twig-templates","webpack"],"created_at":"2024-09-26T07:43:16.971Z","updated_at":"2026-01-19T22:01:39.377Z","avatar_url":"https://github.com/RomPiot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integration Setup\n\nA simple boilerplate to create a new website integration.\n\nWhen the server is started, it automatically builds the JS and CSS files whenever the asset files change, and\nautomatically reloads the site in the browser when a file is modified and saved.\n\nIn this example project, the chosen template file extension is \".html.twig\" (to be easily integrated in a Symfony\nproject). But you are free to choose the desired file extension (html, njk, etc)\n\nIn the \"templates\" folder, the loaded pages are the files at the root of this folder.\n\nTo provide data that can be used as variables in the template files, create a new json file in the \"data\" folder, named\nexactly the same as the template file.\nFor example, in this project, we have 2 pages (\"home.html.twig\" and \"test.html.twig\"). In data, we have 2 json files\nnamed\n\"home.json\" and \"test.json\".\n\n## Requirements\n\nTip: use nvm for better flexibility of node version\n\n- NodeJS\n- NPM (or Yarn)\n\n## Installation\n\nYou can replace \"yarn\" with \"npm\" if you wish. I chose Yarn, simply by personal preference\n\n```\nyarn install\n```\n\n## Configuration\n\nTo override the configuration, copy and paste the .env.example file and rename it to .env, and edit the values.\n\n## Start the server\n\n```\nyarn start\n```\n\nBy default, without custom configuration, go to: `http://localhost:3001`\n\n## Features\n\n### json inheritance\nYou can include json data in other json, by specifying in the value of your key the \"include_data\" function, pointing to the associated file in data\n\nExample :  (in home.json)\n```json\n\"cards\": \"include_data('project.json')\"\n```\n\nFor this to work, you need to add a root key named \"include_data\" in the file you want to include, and specify the data you want to include in your file.\n\nExample :  (in project.json)\n```json\n{\n    \"include_data\": [\n        {\n            \"id\": 82,\n            \"title\": \"enim commodo consequat ad laboris\",\n            \"description\": \"veniam consequat cillum sit incididunt anim ex ullamco enim anim consequat nostrud velit labore id occaecat\",\n            \"image\": {\n                \"url\": \"https://loremflickr.com/500/500/landscape?lock=\",\n                \"alt\": \"exercitation duis\",\n                \"title\": \"do sunt velit et cillum eu ipsum incididunt exercitation cupidatat reprehenderit aliqua eiusmod officia ut non nisi irure ut irure\"\n            },\n            \"date\": \"2022-03-09\"\n        }\n    ]\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frompiot%2Fintegration-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frompiot%2Fintegration-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frompiot%2Fintegration-setup/lists"}