{"id":18029460,"url":"https://github.com/morucci/bbot-web-report","last_synced_at":"2025-06-11T21:34:31.468Z","repository":{"id":142717079,"uuid":"326355661","full_name":"morucci/bbot-web-report","owner":"morucci","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-06T22:52:32.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-10T05:41:51.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/morucci.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-01-03T07:52:54.000Z","updated_at":"2021-07-09T12:36:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcebd1de-b046-4793-acdb-396cdf43e338","html_url":"https://github.com/morucci/bbot-web-report","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/morucci%2Fbbot-web-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fbbot-web-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fbbot-web-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fbbot-web-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morucci","download_url":"https://codeload.github.com/morucci/bbot-web-report/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249549,"owners_count":20908212,"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-10-30T09:09:42.584Z","updated_at":"2025-04-04T21:12:55.751Z","avatar_url":"https://github.com/morucci.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReasonReact Template \u0026 Examples\n\nThis is:\n- A template for your new ReasonReact project.\n- A collection of thin examples illustrating ReasonReact usage.\n- Extra helper documentation for ReasonReact (full ReasonReact docs [here](https://reasonml.github.io/reason-react/)).\n\n`src` contains 4 sub-folders, each an independent, self-contained ReasonReact example. Feel free to delete any of them and shape this into your project! This template's more malleable than you might be used to =).\n\nThe point of this template and examples is to let you understand and personally tweak the entirely of it. We **don't** give you an opaque, elaborate mega build setup just to put some boxes on the screen. It strikes to stay transparent, learnable, and simple. You're encouraged to read every file; it's a great feeling, having the full picture of what you're using and being able to touch any part.\n\n## Run\n\n```sh\nnpm install\nnpm run server\n# in a new tab\nnpm start\n```\n\nOpen a new web page to `http://localhost:8000/`. Change any `.re` file in `src` to see the page auto-reload. **You don't need any bundler when you're developing**!\n\n**How come we don't need any bundler during development**? We highly encourage you to open up `index.html` to check for yourself!\n\n# Features Used\n\n|                           | Blinking Greeting | Reducer from ReactJS Docs | Fetch Dog Pictures | Reason Using JS Using Reason |\n|---------------------------|-------------------|---------------------------|--------------------|------------------------------|\n| No props                  |                   | ✓                         |                    |                              |\n| Has props                 |                   |                           |                    | ✓                            |\n| Children props            | ✓                 |                           |                    |                              |\n| No state                  |                   |                           |                    | ✓                            |\n| Has state                 | ✓                 |                           |  ✓                 |                              |\n| Has state with useReducer |                   | ✓                         |                    |                              |\n| ReasonReact using ReactJS |                   |                           |                    | ✓                            |\n| ReactJS using ReasonReact |                   |                           |                    | ✓                            |\n| useEffect                 | ✓                 |                           |  ✓                 |                              |\n| Dom attribute             | ✓                 | ✓                         |                    | ✓                            |\n| Styling                   | ✓                 | ✓                         |  ✓                 | ✓                            |\n| React.array               |                   |                           |  ✓                 |                              |\n\n# Bundle for Production\n\nWe've included a convenience `UNUSED_webpack.config.js`, in case you want to ship your project to production. You can rename and/or remove that in favor of other bundlers, e.g. Rollup.\n\nWe've also provided a barebone `indexProduction.html`, to serve your bundle.\n\n```sh\nnpm install webpack webpack-cli\n# rename file\nmv UNUSED_webpack.config.js webpack.config.js\n# call webpack to bundle for production\n./node_modules/.bin/webpack\nopen indexProduction.html\n```\n\n# Handle Routing Yourself\n\nTo serve the files, this template uses a minimal dependency called `moduleserve`. A URL such as `localhost:8000/scores/john` resolves to the file `scores/john.html`. If you'd like to override this and handle URL resolution yourself, change the `server` command in `package.json` from `moduleserve ./ --port 8000` to `moduleserve ./ --port 8000 --spa` (for \"single page application\"). This will make `moduleserve` serve the default `index.html` for any URL. Since `index.html` loads `Index.bs.js`, you can grab hold of the URL in the corresponding `Index.re` and do whatever you want.\n\nBy the way, ReasonReact comes with a small [router](https://reasonml.github.io/reason-react/docs/en/router) you might be interested in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorucci%2Fbbot-web-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorucci%2Fbbot-web-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorucci%2Fbbot-web-report/lists"}