This is an ecommerce project with a homepage that shows a variaty of products and a detail product page. On the homepage I can add items to the cart.
You'll find two folders:
-
client: A React.js project bootstrapped with Next.js. State managed with Redux toolkit and styled with styled-components. Tested using Jest. Apollo client is used to handle the data with GraphQL.
-
shop-app: An ecommerce server generated with @vendure/create.
- First, run Vendure server inside
shop-app
folder:
yarn dev
will start the Vendure server and worker processes from the src directory.
- Go back to
client
folder and run development server
yarn dev