├── .env.local ├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── auth │ ├── actions │ │ ├── authenticated.ts │ │ └── get-authentication.ts │ ├── auth-context.ts │ ├── auth-cookie.ts │ ├── layout.tsx │ ├── login │ │ ├── login.ts │ │ └── page.tsx │ ├── logout.ts │ └── signup │ │ ├── create-user.ts │ │ └── page.tsx ├── checkout │ ├── actions │ │ └── checkout.ts │ ├── checkout.tsx │ └── stripe.ts ├── common │ ├── constants │ │ ├── api.ts │ │ └── routes.ts │ ├── interfaces │ │ └── form-response.interface.ts │ └── util │ │ ├── errors.ts │ │ └── fetch.ts ├── dark.theme.ts ├── favicon.ico ├── get-me.ts ├── globals.css ├── header │ └── header.tsx ├── layout.tsx ├── page.tsx ├── products │ ├── [productId] │ │ ├── get-product.ts │ │ └── page.tsx │ ├── actions │ │ ├── create-product.ts │ │ ├── get-products.ts │ │ └── revalidate-products.ts │ ├── create-product │ │ ├── create-product-fab.tsx │ │ └── create-product-modal.tsx │ ├── interfaces │ │ └── product.interface.ts │ ├── product-image.ts │ ├── product.tsx │ ├── products-grid.tsx │ └── products.tsx └── providers.tsx ├── middleware.ts ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts └── tsconfig.json /.env.local: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/.env.local -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/README.md -------------------------------------------------------------------------------- /app/auth/actions/authenticated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/actions/authenticated.ts -------------------------------------------------------------------------------- /app/auth/actions/get-authentication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/actions/get-authentication.ts -------------------------------------------------------------------------------- /app/auth/auth-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/auth-context.ts -------------------------------------------------------------------------------- /app/auth/auth-cookie.ts: -------------------------------------------------------------------------------- 1 | export const AUTHENTICATION_COOKIE = "Authentication"; 2 | -------------------------------------------------------------------------------- /app/auth/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/layout.tsx -------------------------------------------------------------------------------- /app/auth/login/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/login/login.ts -------------------------------------------------------------------------------- /app/auth/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/login/page.tsx -------------------------------------------------------------------------------- /app/auth/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/logout.ts -------------------------------------------------------------------------------- /app/auth/signup/create-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/signup/create-user.ts -------------------------------------------------------------------------------- /app/auth/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/auth/signup/page.tsx -------------------------------------------------------------------------------- /app/checkout/actions/checkout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/checkout/actions/checkout.ts -------------------------------------------------------------------------------- /app/checkout/checkout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/checkout/checkout.tsx -------------------------------------------------------------------------------- /app/checkout/stripe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/checkout/stripe.ts -------------------------------------------------------------------------------- /app/common/constants/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/common/constants/api.ts -------------------------------------------------------------------------------- /app/common/constants/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/common/constants/routes.ts -------------------------------------------------------------------------------- /app/common/interfaces/form-response.interface.ts: -------------------------------------------------------------------------------- 1 | export interface FormResponse { 2 | error: string; 3 | } 4 | -------------------------------------------------------------------------------- /app/common/util/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/common/util/errors.ts -------------------------------------------------------------------------------- /app/common/util/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/common/util/fetch.ts -------------------------------------------------------------------------------- /app/dark.theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/dark.theme.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/get-me.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/get-me.ts -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- 1 | @import "tailwindcss"; 2 | -------------------------------------------------------------------------------- /app/header/header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/header/header.tsx -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/products/[productId]/get-product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/[productId]/get-product.ts -------------------------------------------------------------------------------- /app/products/[productId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/[productId]/page.tsx -------------------------------------------------------------------------------- /app/products/actions/create-product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/actions/create-product.ts -------------------------------------------------------------------------------- /app/products/actions/get-products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/actions/get-products.ts -------------------------------------------------------------------------------- /app/products/actions/revalidate-products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/actions/revalidate-products.ts -------------------------------------------------------------------------------- /app/products/create-product/create-product-fab.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/create-product/create-product-fab.tsx -------------------------------------------------------------------------------- /app/products/create-product/create-product-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/create-product/create-product-modal.tsx -------------------------------------------------------------------------------- /app/products/interfaces/product.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/interfaces/product.interface.ts -------------------------------------------------------------------------------- /app/products/product-image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/product-image.ts -------------------------------------------------------------------------------- /app/products/product.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/product.tsx -------------------------------------------------------------------------------- /app/products/products-grid.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/products-grid.tsx -------------------------------------------------------------------------------- /app/products/products.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/products/products.tsx -------------------------------------------------------------------------------- /app/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/app/providers.tsx -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/shoppy-ui/HEAD/tsconfig.json --------------------------------------------------------------------------------