@inovando/cra-template

⚡ Inovando's template for create-react-app https://www.npmjs.com/package/@inovando/cra-template

Showing:

Popularity

Downloads/wk

32

GitHub Stars

13

Maintenance

Last Commit

8mos ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

@inovando/cra-template

⚡️ Inovando's template for create-react-app

NPM version code style: prettier Commitizen friendly

Package Main Techs

Preview

DesktopMobile
Template Chrome Desktop PreviewTemplate Mobile Preview

Usage

  1. Initialize your project with this command:
npx create-react-app my-app --template @inovando
  1. Duplicate .env.example to .env.development.local and .env.production fulfilling variables as needed

  2. Run the following commands:

yarn start # React server
yarn mock # Mock server (to see table example)
  1. Done 🎉

  2. (Optional) If you need PWA, don't forget to change icons at public/site.webmanifest

  3. (Optional) If your project will use Cypress and your OS is Linux Ubuntu/Debian, you need to run the following commands:

sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
  1. (Optional) Duplicate cypress.env.example.json to cypress.env.json fulfilling variables as needed

Scripts

yarn serve

Serve app based on build/ folder (generated by yarn build)

yarn build-and-serve

Build and serve build/ folder

yarn generate:crud

Will prompt some questions to create a new CRUD with 3 routes (/entity, /entity/new, /entity/:id)

yarn generate:crud-modal

Will prompt some questions to create a new CRUD based on a modal with 1 route (/entity)

Features

FAQ

Why ESLint and plugins are dependencies?

Until the release date of this package, create react app does not support devDependencies field at template.json

Git hooks not working

rm -rf node_modules && yarn

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100