This is a boilerplate of React application with my preferred stacks, optimized for future reuse when starting a new project.
git clone {this repo}
npm install or yarn
npm run dev (or npm run start if you want to create production optimized build
visit localhost:3000
- This project is a server side rendered React app which uses NextJS
- Written in TypeScript
- Uses styled-component for styling
- material-ui is used in combination with regular components
- Husky is used to ensure eslint and commitlint is run before each commit
- Uses conventional commit for commit lint rule
- Uses jest and enzyme for test
When styled-component and material-ui are used together in NextJS, it requires additional setup. This is implemented in _document.tsx file in source code.