Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

create-react-express-app

mateo-navarrete55MIT0.9.5

a boilerplate react frontend with an express backend full-stack app generator

create-react-app, express-generator, react, express, boilerplate, create, full, stack, app, generator, fullstack, full-stack, javascript, js, node, server, template, react-frontend, frontend, express-backend, backend, axios, body-parser, pg-promise, supervisor

readme

create-react-express-app


PRODUCTION READY for Mac Users

Windows Users please check the Github repo


Install Instructions:

Navigate to your projects root directory:
(NOT your desktop)
npm install -g create-react-express-app

NOTE:

  • This package expects to be installed globally so you can run the command anywhere:
    fullstack MY_FULLSTACK_APP_NAME

  • This package also expects the following packages to be installed globally as well:

Be sure you have globally installed the required packages:


Backend Required Package:
npm install express-generator -g
This step can be skipped if express-generator is already installed globally


Frontend Required Package:
https://github.com/facebook/create-react-app
This step can be skipped if create-react-app is already installed globally


TO BUILD APP:
fullstack theNameOfMyNewFullstackAppGoesHere

TO DEPLOY DEV SERVER:
inside app folder =>
npm start

// for example:

cd theNameOfMyNewFullstackAppGoesHere
npm start

// the app will automatically open on http://localhost:3000/
// the backend express server can be viewed on http://localhost:3100/


frontend @ http://localhost:3000/
backend @ http://localhost:3100/


NOTE:
This package works as expected on Mac.

This package needs to be slightly refactored to have it work properly on Windows. Apologies.

Please see the repository for more details:
create-react-express-app

More features, including Windows support, coming soon!