Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

generator-react-go

0.2.1 • Public • Published

generator-react-go

Above generator has its purpose in optymizing and making easier to use **React 16** with **Materialize Css**. It contains required boilerplate code which helps other programmers to start easy their work with skipping hard to make configuration. It is based on create-react-app.

The package contains React, Redux, React-Router and Materialize Css libraries mainly. The most important thing is, this generator show you the way how to modify css of Materialize Css without copying whole app and putting it into src/vendor folder.

Moreover, I used Json-Server as a backend, so you will be able to see how to implement interaction with live data server and how to handle its states with Redux.

Installation

npm i -g yo generator-react-go

How to use

In console

yo react-go <appname>
cd <appname>
yarn install
yarn start

and in the second console

yarn json-api

Above commands will create, install deps and start an application. Second console is needed for json data server.

Test

Test were written with Jest and Enzyme.

To run tests you can simply put below command.

yarn test

To the user

Dear user, if you have any suggestions/find any bugs please do not hesitate to let me know :)

Best regards, VanyllaGorylla

Install

npm i generator-react-go

DownloadsWeekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

402 kB

Total Files

69

Last publish

Collaborators

  • avatar