react-baby
v1.8.0
Published
A command line tool for generating a lightweight, full stack react application.
Downloads
36
Maintainers
Readme
React Baby
Generate a lightweight boilerplate for your full stack React application.
Getting Started
npm install -g react-babyGenerating Your Boilerplate
In your cli simply type...
react-babyThis will generate a folder called react-baby-boilerplate in your cwd.
The next argument after react-baby will give you the option to name your directory.
For example...
react-baby my-projectwill create a folder named my-project.
Working With Your Boilerplate
Before you can get your local server running, you must...
npm installAfter that you can run any of the following three pre-packaged servers, via npm scripts...
Webpack Dev Server
npm run devThis command runs webpack-dev-server and allows for changes to your front end to be immediately reflected.
Node Dev Server
npm run start:devThis command runs nodemon and allows for changes to your back end to be immediately reflected.
Node Production Server
For production...
npm run startAll servers run on port 8080 by default
