An open API service indexing awesome lists of open source software.

https://github.com/sedubois/relate

[ARCHIVED] experimenting web app with React + GraphQL + Next.js
https://github.com/sedubois/relate

apollographql graphql nextjs node react universal

Last synced: 2 months ago
JSON representation

[ARCHIVED] experimenting web app with React + GraphQL + Next.js

Awesome Lists containing this project

README

        

| ⚠️ This project is archived. |
|-------------------------------|

## Stack

[Read this](https://github.com/sedubois/relate/issues/5) for the reasoning behind the technology choices.

- [React](https://facebook.github.io/react) rendering
- [Redux](http://redux.js.org) state management
- [Redux-thunk](https://github.com/gaearon/redux-thunk) for async/conditional state changes
- [GraphQL](http://graphql.org) API query language
- [Apollo](http://dev.apollodata.com) GraphQL client
- [Graphcool](https://www.graph.cool) GraphQL/lambda backend-as-a-service
- [Next.js](https://zeit.co/blog/next) universal webapp framework (server-side rendering, single-page experience)
- [Next-Routes](https://github.com/fridays/next-routes) to manage dynamic routing configuration
- [Now](https://zeit.co/now) deployment
- [Auth0](https://auth0.com) user authentication
- [lru-cache](https://github.com/isaacs/node-lru-cache) for server-side caching of HTML pages
- [React-ga](https://github.com/react-ga/react-ga) for [Google Analytics](https://www.google.com/analytics)
- [React-intl](https://github.com/yahoo/react-intl) for internationalization
- [accept-language](https://github.com/tinganho/node-accept-language) for detection of browser's language preference
- [MailChimp](https://mailchimp.com) newsletter registration

Development:
- [Webpack-bundle-analyzer](https://github.com/th0r/webpack-bundle-analyzer) to visualize the bundled code contents

## Development

- `git clone https://github.com/sedubois/relate && cd relate`
- `yarn`
- `yarn dev`
- navigate to
- do something amazing :tada:

NB: `yarn` will create `config.js` and `server/config.js` for you (through the `postinstall` hook). Edit these files to configure integrations such as GraphQL and analytics.

## Credit

See the [LICENSE](LICENSE) file for license rights and limitations (GPLv3).

Copyright (c) 2016-2017 Sébastien Dubois.