A hapijs API and React client boilerplate project.
This project got started out of a need to have a boilerplate that didn't tie up the client and server-side logic. Most boilerplate projects coupled them pretty tightly and made replacing their respective frameworks pretty cumbersome.
I'm a huge fan of hapijs so that's what this project uses and it is Hapi.js v17.x.x ready. For the client-side this project uses React. I've also set up react-redux. Feel free to clone this and swap them out for your preferred frameworks.
While the server and client-side of hapi-react-kit
can run independently while in development, you will require Docker to deploy this so that both servers can run simultaneously.
git clone [email protected]:gjunkie/hapi-react-kit.git <project-name>
cd hapi-react-kit/client
npm install
cd ../hapi-react-kit/server
npm install
docker-compose up
cd hapi-react-kit/client
npm start
- open new terminal tab.
cd hapi-react-kit/server
npm start
- cd into the project.
npm test
MIT (go nuts)