generator-react-go

Simple React generator with materialize css and webpack. It contains Redux, Redux Forms, Redux Promise Middleware aswell. You can start your work with this project and check how some things were solved.

Usage no npm install needed!

<script type="module">
  import generatorReactGo from 'https://cdn.skypack.dev/generator-react-go';
</script>

README

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