Socket
Socket
Sign inDemoInstall

react-baby

Package Overview
Dependencies
259
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-baby

A command line tool for generating a lightweight, full stack react application.


Version published
Maintainers
1
Install size
1.72 MB
Created

Readme

Source

React Baby

Generate a lightweight boilerplate for your full stack React application.

Getting Started

npm install -g react-baby

Generating Your Boilerplate

In your cli simply type...

react-baby

This 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-project

will create a folder named my-project.

Working With Your Boilerplate

Before you can get your local server running, you must...

npm install

After that you can run any of the following three pre-packaged servers, via npm scripts...

Webpack Dev Server
npm run dev

This command runs webpack-dev-server and allows for changes to your front end to be immediately reflected.

Node Dev Server
npm run start:dev

This command runs nodemon and allows for changes to your back end to be immediately reflected.

Node Production Server

For production...

npm run start

All servers run on port 8080 by default

Keywords

FAQs

Last updated on 02 Jun 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc