{"id":13495627,"url":"https://github.com/persianturtle/rescript-react-boilerplate","last_synced_at":"2025-04-15T16:34:51.642Z","repository":{"id":41820857,"uuid":"119475399","full_name":"persianturtle/rescript-react-boilerplate","owner":"persianturtle","description":"An opinionated app shell for ReScript \u0026 React progressive web apps","archived":false,"fork":false,"pushed_at":"2023-03-04T02:33:02.000Z","size":4838,"stargazers_count":62,"open_issues_count":4,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T22:23:39.824Z","etag":null,"topics":["emotion","esbuild","pwa","react","rescript","rescript-react","sass","starter-kit","styled-ppx"],"latest_commit_sha":null,"homepage":"https://rescript-react-boilerplate.persianturtle.com","language":"ReScript","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/persianturtle.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}},"created_at":"2018-01-30T03:12:53.000Z","updated_at":"2024-12-01T20:00:28.000Z","dependencies_parsed_at":"2024-01-06T07:44:12.028Z","dependency_job_id":"80b16011-b2ef-4499-b988-c5187b268547","html_url":"https://github.com/persianturtle/rescript-react-boilerplate","commit_stats":null,"previous_names":["persianturtle/reason-app-shell-starter-kit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persianturtle%2Frescript-react-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persianturtle%2Frescript-react-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persianturtle%2Frescript-react-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persianturtle%2Frescript-react-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/persianturtle","download_url":"https://codeload.github.com/persianturtle/rescript-react-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249109013,"owners_count":21214098,"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":["emotion","esbuild","pwa","react","rescript","rescript-react","sass","starter-kit","styled-ppx"],"created_at":"2024-07-31T19:01:36.533Z","updated_at":"2025-04-15T16:34:51.622Z","avatar_url":"https://github.com/persianturtle.png","language":"ReScript","readme":"# Rescript React Boilerplate\n\nAn opinionated implementation of the following technologies:\n\n- ReScript \u0026 React\n- Simple routing using [ReScript's built in router](https://rescript-lang.org/docs/react/latest/router)\n- Quick and dirty route transitions via [ReactTransitionGroup](https://github.com/reactjs/react-transition-group)\n- Choose between [Emotion](https://github.com/persianturtle/rescript-react-boilerplate), [Sass](https://github.com/persianturtle/rescript-react-boilerplate/tree/sass) or [styled-ppx](https://github.com/persianturtle/rescript-react-boilerplate/tree/styled-ppx) for styling\n- [http-server](https://github.com/http-party/http-server) for a quick and easy development server\n- [esbuild](https://esbuild.github.io/) for fast bundling\n- Automatically generated [ServiceWorker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker) for rich offline experiences (here's a great [in-depth course on the topic](https://classroom.udacity.com/courses/ud899))\n\n# CSS Flavors\n\n- [Emotion](https://github.com/persianturtle/rescript-react-boilerplate)\n- [styled-ppx](https://github.com/persianturtle/rescript-react-boilerplate/tree/styled-ppx)\n- [Sass](https://github.com/persianturtle/rescript-react-boilerplate/tree/sass)\n\n## Getting Started\n\n```sh\nnpm install\nnpm start\nopen http://localhost:8081\n```\n\n## Demo\n\n![Demo](https://github.com/persianturtle/rescript-react-boilerplate/blob/master/img/demo.gif)\n\n## Tutorial\n\n(Video overview coming soon)\n\n## Development Environment\n\nSince we're using ReScript and esbuild, our build times are fast.\n\nBecause of this, we use [chokidar (a cross-platform file watcher)](https://github.com/paulmillr/chokidar) to watch for changes and then rebuild the `dist` directory on every change. The `dist` directory is the same whether in development or in production.\n\nThe build should work on macOS, Windows \u0026 Linux.\n\n![Demo](https://github.com/persianturtle/rescript-react-boilerplate/blob/master/img/start.png)\n","funding_links":[],"categories":["ReScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersianturtle%2Frescript-react-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpersianturtle%2Frescript-react-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersianturtle%2Frescript-react-boilerplate/lists"}