{"id":13530481,"url":"https://github.com/WeLikeGraphQL/universal-react-apollo-example","last_synced_at":"2025-04-01T18:31:49.483Z","repository":{"id":123649125,"uuid":"70249959","full_name":"WeLikeGraphQL/universal-react-apollo-example","owner":"WeLikeGraphQL","description":"Universal React Apollo App (GraphQL) consuming: https://github.com/WeLikeGraphQL/wordpress-graphql-api-example!","archived":false,"fork":false,"pushed_at":"2017-02-19T17:12:58.000Z","size":434,"stargazers_count":118,"open_issues_count":1,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T15:46:40.073Z","etag":null,"topics":["apollo","graphql","react","universal","webpack2"],"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/WeLikeGraphQL.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}},"created_at":"2016-10-07T13:37:53.000Z","updated_at":"2023-11-18T17:10:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcf2d42f-ee8a-485b-9c25-644c1c2e5390","html_url":"https://github.com/WeLikeGraphQL/universal-react-apollo-example","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/WeLikeGraphQL%2Funiversal-react-apollo-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeLikeGraphQL%2Funiversal-react-apollo-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeLikeGraphQL%2Funiversal-react-apollo-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeLikeGraphQL%2Funiversal-react-apollo-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WeLikeGraphQL","download_url":"https://codeload.github.com/WeLikeGraphQL/universal-react-apollo-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246691609,"owners_count":20818542,"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":["apollo","graphql","react","universal","webpack2"],"created_at":"2024-08-01T07:00:50.518Z","updated_at":"2025-04-01T18:31:49.039Z","avatar_url":"https://github.com/WeLikeGraphQL.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Boilerplates and Example Apps","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Universal React Apollo Example\n\n[![Gitter][gitter-img]][gitter-link]\n[![Build Status](https://travis-ci.org/WeLikeGraphQL/universal-react-apollo-example.svg?branch=master)](https://travis-ci.org/WeLikeGraphQL/universal-react-apollo-example)\n\n\u003e An example of the app that shows how to use a modern stack (strong accent on GraphQL!).\n\n[gitter-img]: https://badges.gitter.im/Join%20Chat.svg\n[gitter-link]: https://gitter.im/WeLikeGraphQL/react-apollo-example?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n\n## Features\n\n - [GraphQL](http://graphql.org/) for fetching data! The most awesome part of the project!\n - Universal Rendering (Server Side Rendering)\n - ES6/ES2015 with [Babel](https://babeljs.io/)\n - React data container for the [Apollo Client](http://dev.apollodata.com/react/) \n - Integrating predictable state container [Redux](http://redux.js.org) with Apollo\n - Hot reloading using [React-Hot-Loader](https://github.com/gaearon/react-hot-loader)\n - [Recompose](https://github.com/acdlite/recompose) as a React utility belt for higher order components\n - Development and production bundling by [Webpack](https://webpack.github.io)\n - [CSSNext](http://cssnext.io/): use of official W3C syntax of the future CSS\n - Transforming styles with JS plugins by [PostCSS](http://postcss.org/)\n - [Wow.js](http://mynameismatthieu.com/WOW/) for CSS animations\n - [Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) for resolving [layout fatigue](http://blog.karenmenezes.com/2014/apr/13/floats-inline-block-or-display-table-or-flexbox/) and making the app responsive (open the app in desktop, mobile, whatever...). Doesn't work on IE 9, but it should not be a problem nowadays. See [browsers usage](http://caniuse.com/usage-table).\n - [CSS Modules](https://github.com/css-modules/css-modules): say goodbye to global scope in CSS and most of conflicts\n - [Jest Snapshot Testng](https://facebook.github.io/jest/blog/2016/07/27/jest-14.html), some parts in [Enzyme](http://airbnb.io/enzyme/) and [Sinon](http://sinonjs.org/)\n - Linting both JS and CSS, respectively by: [ESLint](http://eslint.org/) and [Stylelint](http://stylelint.io/)\n \n## Running the app\n\n### 1. This repository is the frontend for [Wordpress GraphQL API Example](https://github.com/WeLikeGraphQL/wordpress-graphql-api-example). You need to run it first, however, you can also set up own endpoints.\n\n### 2. Install Node/npm\n\nMake sure you have Node.js installed (the app has been tested with Node `5.12.0`). You can use `npm` or `yarn` for running commands (we prefer `yarn`, as it is faster).\n\n### 3. Clone and install dependencies\n\n```\ngit clone https://github.com/WeLikeGraphQL/react-apollo-example.git\ncd react-apollo-example\nyarn install\n```\n\n### 4. Build and run the app\n\nDevelopment mode:\n```\nyarn run build:dll\nyarn run dev\n```\n\nProduction mode:\n```\nyarn run build\nyarn start\n```\n\n- Open the client at http://localhost:3000\n- You can change ports and other settings in `.env` file\n\n### 5. Running Tests\n\n```\nyarn test\n```\n\n## How to Contribute:\n\nBest way to keep up to date is check the [issues](https://github.com/WeLikeGraphQL/react-apollo-example/issues). We really welcome improvements for **all aspects** of an app.\n\n1. Any suggestions/improvements/bugs can be in the form of Pull Requests, or creating an issue.\n2. Coding guidelines: [Airbnb's Style Guide](https://github.com/airbnb/javascript)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWeLikeGraphQL%2Funiversal-react-apollo-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWeLikeGraphQL%2Funiversal-react-apollo-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWeLikeGraphQL%2Funiversal-react-apollo-example/lists"}