{"id":19412999,"url":"https://github.com/dielduarte/button-builder","last_synced_at":"2026-03-02T03:02:44.856Z","repository":{"id":147877907,"uuid":"370129735","full_name":"dielduarte/button-builder","owner":"dielduarte","description":"a simple example using rescript and react just for fun!","archived":false,"fork":false,"pushed_at":"2021-05-24T01:40:09.000Z","size":540,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T15:42:40.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ReScript","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/dielduarte.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":"2021-05-23T18:33:44.000Z","updated_at":"2021-05-25T17:34:22.000Z","dependencies_parsed_at":"2023-05-27T18:45:43.961Z","dependency_job_id":null,"html_url":"https://github.com/dielduarte/button-builder","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/dielduarte%2Fbutton-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dielduarte%2Fbutton-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dielduarte%2Fbutton-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dielduarte%2Fbutton-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dielduarte","download_url":"https://codeload.github.com/dielduarte/button-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593170,"owners_count":19825930,"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-11-10T12:29:56.200Z","updated_at":"2026-03-02T03:02:39.837Z","avatar_url":"https://github.com/dielduarte.png","language":"ReScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nThis is a simple button builder example using rescript and react, used as an example during my talk \"rescript from a JS dev point of view\"\n\n\u003cimg src=\"./image.png\" alt=\"image showing how the button builder looks like\"\u003e\n\n# Snowpack, React and ReScript integration\n\nThe Snowpack, React and ReScript starter template. Based on [rescript-lang/rescript-project-template](https://github.com/rescript-lang/rescript-project-template)\n\n## Installation\n\n```sh\ngit clone git@github.com:dielduarte/react-snowpack-rescript-template.git\n\ncd react-snowpack-rescript-template\n\nnpm install\n```\n## How to use\n\nstart rescript build and watch script\n\n```js\n  npm run start\n```\n\nIn another tab start snowpack dev server\n\n```js\n  npm run snowpack-start\n```\n\nit will open a local server on port 8080\n\n## Npm scripts\n\n### ReScript\n\n- Build: `npm run build`\n- Clean: `npm run clean`\n- Build \u0026 watch: `npm run start`\n\n### Snowpack\n\n- Start: `npm run snowpack-start`\n- Build: `npm run snowpack-build`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdielduarte%2Fbutton-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdielduarte%2Fbutton-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdielduarte%2Fbutton-builder/lists"}