├── .github └── prototype.png ├── .gitignore ├── README.md ├── api ├── db.js ├── package-lock.json ├── package.json └── yarn.lock ├── capputeeno ├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.js ├── package-lock.json ├── package.json ├── public │ ├── next.svg │ └── vercel.svg ├── src │ ├── app │ │ ├── cart │ │ │ └── page.tsx │ │ ├── globals.css │ │ ├── layout.tsx │ │ ├── page.tsx │ │ └── product │ │ │ └── page.tsx │ ├── components │ │ ├── back-button.tsx │ │ ├── cart-control.tsx │ │ ├── cart │ │ │ └── cart-item.tsx │ │ ├── default-page-layout.tsx │ │ ├── default-providers.tsx │ │ ├── divider.tsx │ │ ├── filter-bar.tsx │ │ ├── filter-by-priority.tsx │ │ ├── filter-by-type.tsx │ │ ├── header.tsx │ │ ├── icons │ │ │ ├── arrow-icon.tsx │ │ │ ├── back-icon.tsx │ │ │ ├── cart-icon.tsx │ │ │ ├── delete-icon.tsx │ │ │ ├── search-icon.tsx │ │ │ └── shopping-bag-icon.tsx │ │ ├── primary-input.tsx │ │ ├── product-card.tsx │ │ └── products-list.tsx │ ├── contexts │ │ └── filter-context.tsx │ ├── hooks │ │ ├── useFilter.tsx │ │ ├── useLocalStorage.tsx │ │ ├── useProduct.ts │ │ └── useProducts.tsx │ ├── types │ │ ├── filter-types.ts │ │ ├── priority-types.ts │ │ ├── product.ts │ │ └── products-response.ts │ └── utils │ │ ├── format-price.ts │ │ └── graphql-filters.ts └── tsconfig.json └── package.json /.github/prototype.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/.github/prototype.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | api/node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/README.md -------------------------------------------------------------------------------- /api/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/api/db.js -------------------------------------------------------------------------------- /api/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/api/package-lock.json -------------------------------------------------------------------------------- /api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/api/package.json -------------------------------------------------------------------------------- /api/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/api/yarn.lock -------------------------------------------------------------------------------- /capputeeno/.env: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_API_URL=http://localhost:3333 -------------------------------------------------------------------------------- /capputeeno/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /capputeeno/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/.gitignore -------------------------------------------------------------------------------- /capputeeno/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/README.md -------------------------------------------------------------------------------- /capputeeno/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/next.config.js -------------------------------------------------------------------------------- /capputeeno/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/package-lock.json -------------------------------------------------------------------------------- /capputeeno/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/package.json -------------------------------------------------------------------------------- /capputeeno/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/public/next.svg -------------------------------------------------------------------------------- /capputeeno/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/public/vercel.svg -------------------------------------------------------------------------------- /capputeeno/src/app/cart/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/app/cart/page.tsx -------------------------------------------------------------------------------- /capputeeno/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/app/globals.css -------------------------------------------------------------------------------- /capputeeno/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/app/layout.tsx -------------------------------------------------------------------------------- /capputeeno/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/app/page.tsx -------------------------------------------------------------------------------- /capputeeno/src/app/product/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/app/product/page.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/back-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/back-button.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/cart-control.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/cart-control.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/cart/cart-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/cart/cart-item.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/default-page-layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/default-page-layout.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/default-providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/default-providers.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/divider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/divider.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/filter-bar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/filter-bar.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/filter-by-priority.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/filter-by-priority.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/filter-by-type.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/filter-by-type.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/header.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/icons/arrow-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/icons/arrow-icon.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/icons/back-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/icons/back-icon.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/icons/cart-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/icons/cart-icon.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/icons/delete-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/icons/delete-icon.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/icons/search-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/icons/search-icon.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/icons/shopping-bag-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/icons/shopping-bag-icon.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/primary-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/primary-input.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/product-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/product-card.tsx -------------------------------------------------------------------------------- /capputeeno/src/components/products-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/components/products-list.tsx -------------------------------------------------------------------------------- /capputeeno/src/contexts/filter-context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/contexts/filter-context.tsx -------------------------------------------------------------------------------- /capputeeno/src/hooks/useFilter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/hooks/useFilter.tsx -------------------------------------------------------------------------------- /capputeeno/src/hooks/useLocalStorage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/hooks/useLocalStorage.tsx -------------------------------------------------------------------------------- /capputeeno/src/hooks/useProduct.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/hooks/useProduct.ts -------------------------------------------------------------------------------- /capputeeno/src/hooks/useProducts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/hooks/useProducts.tsx -------------------------------------------------------------------------------- /capputeeno/src/types/filter-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/types/filter-types.ts -------------------------------------------------------------------------------- /capputeeno/src/types/priority-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/types/priority-types.ts -------------------------------------------------------------------------------- /capputeeno/src/types/product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/types/product.ts -------------------------------------------------------------------------------- /capputeeno/src/types/products-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/types/products-response.ts -------------------------------------------------------------------------------- /capputeeno/src/utils/format-price.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/utils/format-price.ts -------------------------------------------------------------------------------- /capputeeno/src/utils/graphql-filters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/src/utils/graphql-filters.ts -------------------------------------------------------------------------------- /capputeeno/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/capputeeno/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fernanda-Kipper/challenge-frontend/HEAD/package.json --------------------------------------------------------------------------------