Commerce Layer application for managing Skus.
Any Commerce Layer account comes with a hosted version of this application, as part of the Dashboard hub, and it is automatically enabled for admin users. An admin can then enable the app for other organization members giving each member full or read-only access.
It's possible to fork this app and add it to your Dashboard hub, in order to customize every part of the code and start using your own and self-hosted version.
You need a local Node.JS (version 18 ) environment and some React.JS knowledge to customize the app code.
-
Fork this repository (you can learn how to do this here).
-
Clone the forked repository like so:
git clone https://github.com/<your username>/app-skus.git && cd app-skus
-
Set your environment by creating a new
/src/app/.env.local
file starting from/src/app/.env
(not required for local development). -
Install dependencies and run the development server:
pnpm install
pnpm dev
-
The app will run in development mode at
http://localhost:5173/
. In order to authenticate the app, you need to add an integration access token as URL query param. Example:http://localhost:5173/?accessToken=<integration-token-for-local-dev>
. That access token is only required (and will work only) for development mode. In production mode the Commerce Layer Dashboard hub will generate a valid access token, based on the current user. -
Modify the app to satisfy your requirements. All our Dashboard apps are built using a shared component library @commercelayer/app-elements. You can browse the official documentation to discover more about this topic.
-
Deploy the forked repository to your preferred hosting service. You can deploy with one click below:
- Complete the configuration in the Dashboard hub by setting your app URL.
-
Create an issue in this repository.
-
Ping us on Twitter.
This repository is published under the MIT license