This is a Next.js project bootstrapped with create-next-app.
install node_modules
yarnbuild server :
npm run build
# or
yarn run build
npm run start
# or
yarn run startdevelopment server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
The app use Jest with testing library to integration & unit testing (actual 18/18 passed), & Cypress for E2E (do a mp4 video at the end of test)
Jest: yarn run test
Cypress (E2E): yarn run cypress:run- Husky
- LintStaged
- CommintLint
- Commitizen
- TypeScript
- CSS modules ( with scss )
- Jest
- Cypress
- Testing Library
- Axios
Rendering strategy: homepage: ISR / Cart: SSR
Deployed website here : https://ecom-potier-demo.vercel.app/