1.0.8 • Published 6 years ago

react-webpacket v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

React-Webpacket

React-webpacket by is a JavaScript library for dealing with the frustration of configuring and setting up react, redux and webpack environment. React-webpacket automatically sets up your react, redux and webpack app environment, no need to bother with redux configuration, webpack settings, eslint and other petty stuff. Avoid unnecessary time wasting and jump straight into doing what you love ♥ - coding. Visit webpacket.org for more information.

Installation

Use the npm package manager to install react-webpacket.

sudo npm install -g react-webpacket
or
yarn global add react-webpacket

Usage

react-webpacket [project name]
Eg. react-webpacket todo_app -> will create a folder 'todo_app' and add all 
    the necessary files to the folder.
follow the prompt
1. Make a selection [press Enter]
2. Enter names of your views (your App pages), separated by a space.
3. Enter names of your redux reducers (separated by a space), actions, 
    reducers and a store are automatically created for these reducers.
4. React-webpacket automatically installs dependencies, fix eslint and then hot reloads in the browser with your pages and redux combinereducers, actions and store.
5. Open http://localhost:8008

Test

yarn test  or npm run test

Notes

if you select => react-redux-webpack-express-sequelize-passport
you must create a database and edit the setting in /server/config/config.json with your credentials.
Run npm run start or yarn start to start the client and the server.
Open http://localhost:8008
Api routes is at /api. eg
POST == http://localhost:8008/api/user
    {
    "email":"desmond@webpacket.org",
    "password":"ilovereact",
    "first_name":"Desmond",
    "last_name":"Toye",
    "role":"1",
    "phone":949455454545,
    "status":"active"
    }
will create the user credentials in your database.
GET == http://localhost:8008/api/user
Will return all your user details.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago