create-react-express

1.2.5 • Public • Published

Create React Express App

Shortcut for making react/express apps

Run the following: npx create-react-express <NAME OF PROJECT>

Optionally you can supply a port number for the express server. By default, this port is set to 3001 (Note: Port can not be 3000)

Example

npx create-react-express example-project 8080

User@bizzybop01 % npx create-react-express example-project 8080
npx: installed 30 in 3.291s
✔ Creating example-project folder
✔ Installing Server Depenancies
✔ Creating React App - Go grab a drink 🍺
✔ Adding Proxy config on React package.json file to route traffic to port 8080
✔ Adding Start script to server npm package
🚀Created React Express App in example-project

    To start your app run:
    cd example-project
    npm start

Package Sidebar

Install

npm i create-react-express

Weekly Downloads

8

Version

1.2.5

License

ISC

Unpacked Size

4.22 kB

Total Files

4

Last publish

Collaborators

  • justinkunz