Part of MERN Stack
Command | Description | Notes |
---|---|---|
npm init | Initializes a new node.js project | |
npm install <package> –save | Installs and adds the package to the dependency files in packagejson |
Command | Description | Notes |
---|---|---|
npx create-react-app <app-name> | Creates a new app | |
npm start | Starts the react server | |
npm run build | Bundles the app into static files for production | |