The purpose of the project is to create a React boilerplate app using Next.js and Jest. The app is created with Next.js and Material-UI. The unit test is set up with Jest and React Testing Library.
Note: You should have Yarn installed in your computer before moving to the next step.
First, clone the repo and install node modules.
git clone https://github.com/yunjuc/react-hooks-context.git
cd react-hooks-context
yarn install
Run the app in development mode.
yarn dev
Open http://localhost:3000 to see the result in the browser.
Build the app for production.
yarn build
Run the built app in production mode.
yarn start
Start test runner.
yarn test