3.0.1 • Published 7 years ago

create-react-app-fullstack v3.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

create-react-app-fullstack

The Stack

Versions

  • Removed Eject! Using a proxy server doesn't require eject, so your boilerplate config remains nicely under the hood.
  • Substantial updates and new architecture
  • Removed different start options (backstart, fullstart, etc). Fullstack functionality is now present in npm run start. Used a 'proxy' instead of middleware to the Webpack Dev Server. Reload times are substantially faster.
  • Added redux, including react-redux, redux-thunk, redux-logger, and react-router-redux.
  • Added axios.

Installation

npm i -g create-react-app
npm i -g create-react-app-fullstack

Getting Started

createdb <my-app>

After creating your database, initialize a create-react-app with the same name (the name match is default functionality, overriding this is straightforward):

create-react-app <my-app>
cd <my-app>
fullstack

After running fullstack, confirm that you want to eject and the remaining steps will update your app with Express and Sequelize.

The second prompt confirms that you want to run fullstack on your project. The process will add/overwrite/remove files in your src, db, server, and scripts folders, so this prompt is a security net. Since you're likely running this function at the beginning of a project, it shouldn't be an issue. After accepting the prompt, the project will install dependencies and template files.

remember to seed the database!

After the fullstack completes, run the command below to add dummy data to the database: npm run seed

Commands

seed

Before getting started, seed the database with dummy data by running:

npm run seed

start

After the database is seeded, you should be all set. To enable full-stack development with hot-reloading, use the same script as create-react-app:

npm run start

build

To build deployment-ready, we use the same script as create-react-app:

npm run build

References and Props

Last, this project was built at a hackathon at Full Stack Academy. Development is ongoing.

3.0.1

7 years ago

3.0.0

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.5.0

7 years ago

1.4.1

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.1.14

7 years ago

1.1.12

7 years ago

1.1.13

7 years ago

1.2.0

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.18

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago