{"id":18660505,"url":"https://github.com/deepredsky/color-app","last_synced_at":"2025-08-31T09:34:10.706Z","repository":{"id":144961558,"uuid":"70637340","full_name":"deepredsky/color-app","owner":"deepredsky","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-11T21:36:49.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T09:35:33.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/deepredsky.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":"2016-10-11T21:34:17.000Z","updated_at":"2016-10-12T18:08:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"679735fe-c7e8-4d13-b5bf-21b0bfec8f7c","html_url":"https://github.com/deepredsky/color-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepredsky/color-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepredsky%2Fcolor-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepredsky%2Fcolor-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepredsky%2Fcolor-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepredsky%2Fcolor-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepredsky","download_url":"https://codeload.github.com/deepredsky/color-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepredsky%2Fcolor-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272965353,"owners_count":25023066,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07T07:44:03.509Z","updated_at":"2025-08-31T09:34:10.670Z","avatar_url":"https://github.com/deepredsky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Sinatra\nAn example app using Sinatra and React\n\n### UP \u0026 RUNNING\n- clone the repo\n- `bundle install`\n- `npm install`\n- `npm run dev`\n- open your browser to `localhost:8080`\n\n### WHATS HAPPENING\n- when you run `npm run dev`, webpack is transpiling all your JS and CSS into a ghost file (`lib/app/public/app.js`). It then serves up the html file in `lib/app/views/index.html` on a ghost Express server on port 8080.\n\n### BUT WAIT, WE'RE NOT _REALLY_ USING SINATRA?\nThat's correct. To use the Puma server for Sinatra with the transpiled assets, you'll need to do the following:\n\n- run `npm run build`\n- run `ruby lib/app.rb`\n\nThis creates a transpiled asset file (`app.js`) of your JS and CSS in the `lib/app/public/` directory. This is great for production, but not so hot for development workflow as you would need to transpile _every time_ you made a change to the JS.\n\n### WHY NOT JUST USE RAILS?\nWhile the React-Rails gem is really great, this is a really simple and lightweight option for using Sinatra and React together without all the weight of Rails.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepredsky%2Fcolor-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepredsky%2Fcolor-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepredsky%2Fcolor-app/lists"}