forked from crowetic/commerce
* Add dynamic API endpoints * Add missing dependency * Update api handlers * Updates * Fix build errors * Update package.json * Add checkout endpoint parser & update errors * Update tsconfig.json * Update cart.ts * Update parser * Update errors.ts * Update errors.ts * Move to Edge runtime * Revert to local * Fix switchable runtimes * Make nodejs default runtime * Update pnpm-lock.yaml * Update handlers * Fix build errors * Change headers
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.