UNPKG

mullet

Version:

Mullet Stack: Facebook in the front. Walmart in the back. (React.js/Hapi)

79 lines (50 loc) 2.38 kB
# The Mullet Stack [![forthebadge](http://forthebadge.com/images/badges/contains-cat-gifs.svg)](http://forthebadge.com) <img src="https://cloud.githubusercontent.com/assets/1610195/5716009/cf500292-9ab1-11e4-84a2-f93f9766afa9.png" align="center" width="200"> [Facebook](http://facebook.github.io/react/) in the front. [Walmart](http://hapijs.com) in the back. All sitting on top of [Node.js](http://nodejs.org/). [![NPM version](https://badge.fury.io/js/mullet.svg)](http://badge.fury.io/js/mullet) [![Build Status](https://travis-ci.org/lynnaloo/mullet.svg)](https://travis-ci.org/lynnaloo/mullet) [![Join the chat at https://gitter.im/lynnaloo/mullet](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lynnaloo/mullet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Get the Party Started ---- Install [Node.js](http://nodejs.org/) ### Setup the Mullet stack for development: ``` git clone https://github.com/lynnaloo/mullet cd mullet npm install ``` Start the Mullet Server: ``` npm start ``` Watch the client folders for changes during development: ``` npm run watch ``` #### OR ### Install the Mullet npm module: ``` npm install mullet ``` Start the Mullet Server: ``` npm start mullet ``` Party On! ---- Point your browser to `http://localhost:8000` to see the sample page! #### But what about server-side rendering? Checkout [this approach](https://github.com/leftieFriele/mullet/tree/serverside) by [@leftieFriele](http://www.github.com/leftieFriele) But Seriously ---- This setup is a decent starting place to play around with Node, Hapi, and React. To get started, edit the sample React component: `src/components/facebook.js` Contributors ---- Mullet Stack was created on a Thursday night by [Linda Nichols](http://www.github.com/lynnaloo). Name inspiration by [Ryan Brunsvold](http://www.github.com/brunsvold) who probably wishes to not be credited on something called "The Mullet Stack." Mullet Cat Logo design by [Lookmai Rattana](http://www.github.com/cosmicmeow). [Weyland](http://www.github.com/weyj4) moved us on up from Gulp/Browserify to Webpack. Special thanks to all of the people that have taken their time to submit [pull requests](https://github.com/lynnaloo/mullet/graphs/contributors) to make this project better! Contact ---- Twitter: [@lynnaloo](http://www.twitter.com/lynnaloo)