mirror of
https://github.com/vercel/commerce.git
synced 2025-08-14 21:01:23 +00:00
.github
.vscode
packages
bigcommerce
commerce
commercejs
src
.env.template
.prettierignore
.prettierrc
README.md
global.d.ts
package.json
taskfile.js
tsconfig.json
kibocommerce
local
ordercloud
saleor
sfcc
shopify
spree
swell
taskr-swc
vendure
site
.editorconfig
.gitignore
.prettierignore
.prettierrc
README.md
license.md
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
turbo.json
* Updated log * Updates to root * Updates to pnpm * successfully moved to pnpm * type issue * Local as the default provider * Upgrade dependencies * Revert to local * Upgrade React * Update node-fetch deps * Fix types * Ignore warnings * Fix missing dependency * Update pnpm-lock.yaml * Add missing @types/cookie * Upgrade dependencies * Fix missing dependencies * Update README.md Co-authored-by: Bel Curcio <curciobel@gmail.com>
Commerce.js Provider
Demo: https://commercejs.vercel.store/
To use this provider you must have a Commerce.js account and you should add some products in the Commerce.js dashboard.
Next, copy the .env.template
file in this directory to .env.local
in the main directory (which will be ignored by Git):
cp packages/commercejs/.env.template .env.local
Then, set the environment variables in .env.local
to match the ones from your store. You'll need your Commerce.js public API key, which can be found in your Commerce.js dashboard in the Developer -> API keys
section.