{"id":13825792,"url":"https://github.com/preactjs-templates/netlify","last_synced_at":"2025-07-08T22:32:37.076Z","repository":{"id":48079984,"uuid":"215840912","full_name":"preactjs-templates/netlify","owner":"preactjs-templates","description":"A preactjs and netlify CMS template","archived":false,"fork":false,"pushed_at":"2022-07-25T02:55:10.000Z","size":6147,"stargazers_count":38,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-05T09:14:31.478Z","etag":null,"topics":[],"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/preactjs-templates.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}},"created_at":"2019-10-17T16:45:49.000Z","updated_at":"2023-08-14T09:58:53.000Z","dependencies_parsed_at":"2022-09-24T01:33:11.015Z","dependency_job_id":null,"html_url":"https://github.com/preactjs-templates/netlify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs-templates%2Fnetlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs-templates%2Fnetlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs-templates%2Fnetlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs-templates%2Fnetlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preactjs-templates","download_url":"https://codeload.github.com/preactjs-templates/netlify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225470631,"owners_count":17479366,"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":[],"created_at":"2024-08-04T09:01:27.158Z","updated_at":"2024-11-20T04:30:54.267Z","avatar_url":"https://github.com/preactjs-templates.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# netlify\nA preactjs and netlify CMS template.\n\n![Lighthouse-Badge](https://img.shields.io/badge/lighthouse-100%2F100-brightgreen.svg)\n\n## Documentation\n- This is the netlify template for [preact-cli](https://github.com/developit/preact-cli).\n- [For Preact](https://preactjs.com/): General information about how to work with Preact, not specific to this template\n\n## Usage\n\n``` bash\n$ npm install -g preact-cli\n$ preact create netlify my-project\n$ cd my-project\n$ npm install\n$ npm run dev\n```\n\nDevelopment server runs on port `8080`. If the default port is already in use on your machine it will start the development server on a random port.\n\n## Commands\n\n- `npm run start`: Runs `serve` or `dev`, depending on `NODE_ENV` value. Defaults to `dev server`\n\n- `npm run dev`: Run a development, HMR server\n\n- `npm run build`: Production-ready build\n\n- `npm run lint`: Pass JavaScript files using ESLint\n\n- `npm run test`: Run Jest and [`preact-render-spy`](https://github.com/mzgoddard/preact-render-spy) for your tests\n\n### How to setup Netlify CMS\n\n- Deploy on netlify using the CLI or the Netlify bot for [github](https://app.netlify.com/start).\n\n- Enable Git gateway https://docs.netlify.com/visitor-access/git-gateway/.\n\n- Enable Identity for your app https://docs.netlify.com/visitor-access/identity/.\n\n- For most Blogs, change (Identity \u003e Settings \u003e Registration preferences) to invite only.\n\n- Invite yourself to the Identity tab in Netlify console.\n\n- Accept the invite from you mail.\n\n- Done 👍🏻.\n\n*Note:* Go to `https://\u003cyour-domain\u003e/admin` in order to access Netlify CMS.\n\n\n### Fork It And Make Your Own\n\nYou can fork this repo to create your own boilerplate, and use it with `preact-cli`:\n\n``` bash\npreact create username/repo my-project\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs-templates%2Fnetlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreactjs-templates%2Fnetlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs-templates%2Fnetlify/lists"}