lynnaloo / mullet

Mullet Stack: Facebook in the front. Walmart in the back. (React, Hapijs, Node)
http://www.mullet.run
MIT License
194 stars 39 forks source link
babel facebook hacktoberfest hacktoberfest2020 hapijs mullet prettier react reactjs walmart webpack

The Mullet Stack

forthebadge

Facebook in the front. Walmart in the back.

All sitting on top of Node.js.

NPM version Build Status

Get the Party Started

Install Node.js

Setup the Mullet stack for development:

git clone https://github.com/lynnaloo/mullet
cd mullet
npm install
npm run build

Start the Mullet Server:

npm start

Watch the client folders for changes during development:

npm watch

OR

Install the Mullet module:

npm add mullet

Start the Mullet Server:

npm start mullet

Party On!

Point your browser to http://localhost:8000 to see the sample page!

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

FAQ

But what about server-side rendering?

I didn't want to pull this into the core, but you should definitely checkout this approach by @leftieFriele.

What if I want to add Redux, Mobx, Gulp, Grunt, Mocha, etc. ?

Put in an issue and we'll discuss it! I decided not to include many 3rd party modules in the core project unless I felt like it was something that was recommended by React or HapiJS and didn't add too much to the complexity. No matter what I think, you should [fork this] and make your own version with everything you want to add!

Are you using this in production?

Noooooo. This is a good starter kit and learning tool.

Contributors

Mullet Stack was created on a Thursday night by Linda Nichols. Name inspiration by Ryan Brunsvold who probably wishes to not be credited on something called "The Mullet Stack."

Mullet Cat Logo design by Lookmai Rattana.

Weyland 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 to make this project better!

Contact

Twitter: @lynnaloo