A place to buy guitars and music gear. Branched off a template project: https://github.com/jwshinx/react-template. React, typescript, webpack, babel. Includes linter and prettier baked in.
Create a .env
file at root and provide a color value COLOR=green
- yarn install
- yarn start
- http://localhost:8080/
Build bundle.js
for deployment. Test it locally. Build in root, and start in build
folder.
- yarn build
- cd build
- npx serve
Followed: http://www.thedreaming.org/2020/11/09/jest-for-web-projects/
- yarn add -D jest babel-jest chai chai-jest chai-dom identity-obj-proxy
- yarn add -D @testing-library/jest-dom
- yarn add -D react-test-renderer
Run tests from root: yarn test