A boilerplate for faster creating React applications
This boilerplate is quite workable template. It allows to:
- login user (used fake user data via
faker
) - logout
- render header, main content and footer
There is no any UI library such as Material UI, Ant Design or anything else. This is intentional: feel free to choose any your like.
To clone
$ git clone https://github.com/daminort/react-app-boilerplate.git
To check updates for used packages
$ cd <project-root>
$ npm run check-updates # will run: npx npm-check-updates
To update used packages
$ cd <project-root>
$ npm run update # will run: npx npm-check-updates -u
Note that
npm run update
updatespackage.json
only, so you will need to install new versions manually after that:$ npm install
$ npm run lint # start linter for `src` folder
$ npm run lint-fix # start linter with fixes for `src` folder
You can run project in Docker
container in development mode:
$ docker-compose up --build
$ # or
$ docker-compose up