create-react-app-fullstack
Advanced tools
Comparing version 1.0.11 to 1.0.12
{ | ||
"name": "create-react-app-fullstack", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Turn create-react-app into a fullstack app by adding Express and Sequelize", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,2 @@ # create-react-app-fullstack | ||
## Installation | ||
<br/> | ||
@@ -13,2 +12,4 @@ ``` | ||
<br/> | ||
## Getting Started | ||
@@ -27,37 +28,60 @@ <br/> | ||
#### remember to seed the database! | ||
<br/> | ||
After the *fullstack* completes, run the command below to add dummy data to the database: `npm run seed` | ||
<br/> | ||
## Commands | ||
<br/> | ||
### seed | ||
Before getting started, seed the database with dummy data by running: `npm run seed` | ||
Before getting started, seed the database with dummy data by running: | ||
``` | ||
npm run seed | ||
``` | ||
<br/> | ||
### start | ||
<br/> | ||
After the database is seeded, you should be all set. To enable front-end development with hot-reloading, use the same script as create-react-app: `npm run start` | ||
After the database is seeded, you should be all set. To enable front-end development with hot-reloading, use the same script as create-react-app: | ||
``` | ||
npm run start | ||
``` | ||
<br/> | ||
### fullstart | ||
<br/> | ||
To automate updates from back-end development, you can run the script below. The difference between this script and the one above: hot-reloading is disabled. Requires navigating to the localhost and refreshing the page: `npm run fullstart` | ||
To automate updates from back-end development, you can run the script below. The difference between this script and the one above: hot-reloading is disabled. Requires navigating to the localhost and refreshing the page: | ||
``` | ||
npm run fullstart | ||
``` | ||
<br/> | ||
### build | ||
<br/> | ||
To build deployment-ready, we use the same script as create-react-app: `npm run build` | ||
To build deployment-ready, we use the same script as create-react-app: | ||
``` | ||
npm run build | ||
``` | ||
<br/> | ||
### nodemon | ||
<br/> | ||
After this, you can test your back-end code on the built static files: | ||
After this, you can test your back-end code on the built static files: `nodemon server` | ||
``` | ||
nodemon server | ||
``` | ||
<br/> | ||
@@ -64,0 +88,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72124
98