This stack is adapted from the React Redux Universal Hot Example. Most notable is the removal of the API server and the addition of Keystone. Features include:
- Universal JS rendering
- Both client and server make API calls to the server
- Keystone CMS
- React
- React Router
- Express
- Babel for ES6 and ES7 magic
- Webpack for bundling
- Webpack Dev Middleware
- Webpack Hot Middleware
- Redux's futuristic Flux implementation
- Redux Dev Tools for next generation DX (developer experience). Watch Dan Abramov's talk.
- Redux Router Keep your router state in your Redux store
- ESLint to maintain a consistent code style
- Install Node
- Install MongoDB
- Install dependencies by running
npm install
- First terminal:
mongod
(leave this running) - Second terminal:
npm run dev
- Build assets:
npm run build
- Start mongo (first terminal):
mongod
- Start server (second terminal):
npm run start