https://github.com/errorpro/react-relay-graphql-newslist
https://github.com/errorpro/react-relay-graphql-newslist
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/errorpro/react-relay-graphql-newslist
- Owner: ErrorPro
- Created: 2018-02-07T21:38:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-10T17:50:00.000Z (over 8 years ago)
- Last Synced: 2025-03-13T21:45:42.695Z (over 1 year ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GraphQL Relay news feed.
### This is a simple boilerplate which uses GraphQL, relay-modern, webpack, react libs.
I didn't use any boilerplate or react create app lib. All I've done myself.
Of course I didn't spent time to manage a few things:
Build:
- Split prod and dev builds into separated files.
- Add code-splitting(webpack 2), common-chunks plugin.
- Node works via babel-node, need to use webpack to build node.js as well(or use node v.9.0 or above)
- Run all webservers using proxy(don't need to open another terminal to run server side or client side).
Node:
- Install nodemon for dev mode.
Front-end:
- React-router(relay)
- Add tests(jest or enzyme)
How to install and run the project:
1. `npm install`
2. `npm run relay`
3. `npm start`
4. In another terminal tab: `npm run server`