Paraboly React Boilerplate
Installation
- Clone/download repo
- If nvm is not installed , install nvm and type nvm use in command line
- run
npm install
afterwards if it throws error try below command - run
npm install --save --legacy-peer-deps
command - If faced node-sass error try run following command
npm rebuild node-sass
npm start
for start development server.
Commands
Command | Description |
---|---|
npm run start |
(alias of npm run start-dev ) |
npm run start-dev |
Build app continuously (HMR enabled) and serve @ http://localhost:${env.PORT || 2999} |
npm run start-prod |
Build app once (HMR disabled) to /dist/ and serve @ http://localhost:${env.PORT || 2999} |
npm run build |
Build app to /dist/ |
npm run test |
Run tests |
npm run lint |
Run linter |
npm run lint --fix |
Run linter and fix issues |
Tech Stack
UI Dependency
- React (18.x)
- ReactRouter (5.x)
- MUI (5.x)
- ReactIcons (4.3.1)
- Axios (0.27.2)
DEV Dependency
- Webpack (5.x)
- Typescript (4.x)
- Hot Module Replacement (HMR) (React Fast Refresh)
- SASS support
- Code linting (ESLint) and formatting (Prettier)
- Test framework (Jest)
Logging
Boilerplate: React Webpack Babel Starter