{"id":13499629,"url":"https://github.com/fortruce/relay-skeleton","last_synced_at":"2025-10-04T23:51:25.737Z","repository":{"id":36535880,"uuid":"40841671","full_name":"fortruce/relay-skeleton","owner":"fortruce","description":"React, Relay, GraphQL project skeleton","archived":false,"fork":false,"pushed_at":"2016-02-22T05:40:15.000Z","size":24,"stargazers_count":125,"open_issues_count":2,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-13T03:43:58.944Z","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/fortruce.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":"2015-08-16T21:19:24.000Z","updated_at":"2024-04-29T17:55:11.000Z","dependencies_parsed_at":"2022-09-21T09:43:16.022Z","dependency_job_id":null,"html_url":"https://github.com/fortruce/relay-skeleton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fortruce/relay-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortruce%2Frelay-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortruce%2Frelay-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortruce%2Frelay-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortruce%2Frelay-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fortruce","download_url":"https://codeload.github.com/fortruce/relay-skeleton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortruce%2Frelay-skeleton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391191,"owners_count":25978944,"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-10-04T02:00:05.491Z","response_time":63,"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-07-31T22:00:36.955Z","updated_at":"2025-10-04T23:51:25.718Z","avatar_url":"https://github.com/fortruce.png","language":"JavaScript","funding_links":[],"categories":["Seed List","Examples","Starter Kits","Boilerplates and Example Apps"],"sub_categories":["Relay","JavaScript Examples"],"readme":"React Fullstack Skeleton\n========================\n\nThis skeleton project is meant to scaffold a fullstack React, Relay, and GraphQL project.\nThe skeleton uses webpack and gulp to manage the build and provide a great\ndevelopment experience. The frontend stack is React, and Relay.\nAll React changes are automatically hot reloaded\nusing [react-hot-loader][1]. Also, the backend server is automatically\nrestarted upon any changes using [nodemon][2].\n\nBoth the server and frontend code are built and transpiled using webpack, while\ngulp is used primarily to start the webpack-dev-server and nodemon.\n\n## Getting started\n\n```\nnpm start  # Launch the GraphQL server and the Webpack dev server.\nopen http://localhost:3000\n```\n\n## Directory Structure\n\n```\nbuild/                  // webpack build output\n  public/               //  publicly served assets\n    index.html\n    bundle.js           // frontend bundle  built w/ webpack\n  server.js             // backend server   built w/ webpack\nsrc/\n  frontend/\n    components/         // React components\n    containers/         // Relay Containers\n    routes/             // Relay Routes\n    index.js            // React.render Root component\n    index.template.html // Template html file that includes React bundle\n  server/\n    data/               // GraphQL Schema definitions\n    index.js\ngulpfile.babel.js\nwebpack.config.js\nrelayPlugin.js          // babel-relay-plugin module\n```\n\n## Typical Usage\n\nThis skeleton was designed with typical use case of having a backend api serve\na React SPA. The skeleton automatically proxies all requests to `/graphql` thru\nthe webpack-dev-server to the backend GraphQL server.\n\nThe frontend is automatically hot reloaded whenever you save a file. See\n[react-hot-loader][1] for more details on how this works. It enables you to\nimmediately see changes in React components without losing application state\nor having to reload your page!\n\nThe backend server is automatically restarted whenever you save a file.\nIf, for example, you modify the GraphQL schema, then the GraphQL server will\nbe restarted to reflect the changes, the `schema.json` will be regenerated\nusing an introspection query, and the frontend code will be recompiled\nto re-run `Relay.QL` queries through the `babel-relay-plugin`.\n\n## Improvements\n\nThe following improvements need to be made:\n\n  * Add a production build flag that removes source maps and minifies js/html.\n  * Add loaders to support SASS and introduce a base stylesheet as an example.\n\nI welcome pull requests, but I am trying to keep this skeleton relatively minimal.\n\n[1]: http://gaearon.github.io/react-hot-loader/\n[2]: http://nodemon.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortruce%2Frelay-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffortruce%2Frelay-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortruce%2Frelay-skeleton/lists"}