A react
starter kit that handles universal rendering as well as a bunch of another neat things. This is sort of a living spec for how I build web applications.
babel
, because ES2015+ all the things.react
, clearly.react-router
for routing on the client and server.redux
, react-redux
, redux-devtools
, and redux-thunk
for state management.koa
for the client server.express
for the graphql
and dev server.graphql
, graphql-relay
for building a backend.flow
type checking. I use atom
with nuclide
, but you can run flow by typing flow
int he root of the repository.eslint
with the airbnb
config plus some slight tweaks, like with flow, I'm linting using atom
& nuclide
, but you can simply run eslint (./node_modules/.bin/eslint
) at the root of the repositoryreact-relay
, though the tools are included to get started with Relay, including the graphql
backend, I've decided to not include the start of a Relay based front end until server-side rendering hooks are exposed [facebook/relay#136].
A database
, still deciding whether to push forward with Neo4j or use Sequelize
+ Postgres.
Testing, I plan on adding karma
, mocha
, sinon
, and chai
.
It felt pretty garish, and was very heavy, so I opted to remove it for a cleaner output.