Socket
Book a DemoInstallSign in
Socket

react-baby

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

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.

1.8.0
latest
npmnpm
Version published
Maintainers
1
Created
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

react

FAQs

Package last updated on 02 Jun 2018

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.