{"id":26657011,"url":"https://github.com/ecadagiani/boilerplate-basic-web","last_synced_at":"2026-04-15T19:35:54.251Z","repository":{"id":98674655,"uuid":"358918400","full_name":"ecadagiani/boilerplate-basic-web","owner":"ecadagiani","description":"A basic template for web project. With Gulp and nginx who allow to create a website with sass, handlebars, next-gen and import javascript.","archived":false,"fork":false,"pushed_at":"2021-04-25T14:49:00.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T08:16:28.009Z","etag":null,"topics":["babel","docker","gulp","handlebars","html","javascript","rollup","sass","web"],"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/ecadagiani.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":"2021-04-17T15:44:56.000Z","updated_at":"2024-11-12T09:51:12.000Z","dependencies_parsed_at":"2023-05-16T14:31:02.895Z","dependency_job_id":null,"html_url":"https://github.com/ecadagiani/boilerplate-basic-web","commit_stats":null,"previous_names":["ecadagiani/boilerplate-basic-web"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadagiani%2Fboilerplate-basic-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadagiani%2Fboilerplate-basic-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadagiani%2Fboilerplate-basic-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadagiani%2Fboilerplate-basic-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecadagiani","download_url":"https://codeload.github.com/ecadagiani/boilerplate-basic-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245423249,"owners_count":20612749,"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":["babel","docker","gulp","handlebars","html","javascript","rollup","sass","web"],"created_at":"2025-03-25T08:16:30.330Z","updated_at":"2026-04-15T19:35:49.185Z","avatar_url":"https://github.com/ecadagiani.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic-Web-Template\n\n## Require:\n- Docker and docker-compose [https://docs.docker.com/get-docker/]()\n- Node and npm [https://nodejs.org/en/download/]() \n- Gulp [https://gulpjs.com/docs/en/getting-started/quick-start]()\n\n## Quick Start\nFirst use: run `npm i`\n\nTo start: run `npm start` and open [http://localhost:8080/]()\n\nTo build: run `npm run build`\n\nTo stop: run `npm run stop`\n\n\n## Features\n### Handlebars HTML\nThe HTML build use handlebar [https://handlebarsjs.com/](), you can put your data in `data.json`,\nadd some helpers functions in `handlebarHelpers.js`, and your partials in the folder `src/partials`.\n\n### SASS\nThis template use dart-sass [https://sass-lang.com/dart-sass]() to build css,\nyou can use all features and syntax (ex: `@use foo`). Use relative path `my/path/toStyle`.\n\n### Javascript\nThe template build an minified javascript with Babel and rollup. You can use all the recent syntax, and import files.\nUse relative path like: `import data from \"./my/path/data.js\";`. You can import json too.\n\n### Assets responsive\nYou can resize the pictures (jpg, jpeg, png) in folder `src/assets/images`, just update the file `imagesResizeConfig.json`.\nHere: [https://www.npmjs.com/package/gulp-responsive]() you can have access to the documentation of the config.\n\n\n## QA\n\n### How to change port ?\nIn docker-compose.yml change l. 8 the default port (8080)\n\n### Why there is an index.es.min.js and an index.iife.min.js ? \nBecause all the browser cannot execute the same level of JS technologies (ex: ES2015). \nThis template create two types of script: one lighter for the most recent browser, \nand a heavier one for older browsers. When you develop your app only the index.es.min.js is updated. \nBefore sending your site to production, think about doing a build (`npm run build`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecadagiani%2Fboilerplate-basic-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecadagiani%2Fboilerplate-basic-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecadagiani%2Fboilerplate-basic-web/lists"}