This is a sample Shopping Cart app built using Next.js 13, Tailwind, Redux Toolkit, Hygraph, and Apollo Client (GraphQL). The app allows users to list the products from Hygraph, add or remove products to their shopping cart, and display a summary of their cart.
Clone the repository
Copy .env.example
to .env
and update the environment variables: cp .env.example .env
Install the dependencies:
npm install
Start the development server:
npm run dev
Open the app in your browser:
http://localhost:3000
Browse the product list, add or remove products to your shopping cart, and view your cart summary.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
This project is licensed under the MIT License.