Welcome to the PlentyONE integration for Alokai.
This section describes how to run the project locally with the preconfigured demo system.
We recommend working with a fork of this repository. A fork allows you to easily incorporate updates from this boilerplate into your own codebase.
This project queries data from PlentyONE by using other NPM packages as middleware. These packages are published on the GitHub registry. To download packages from GitHub's registry, you have to authenticate.
To enable authentication, create a Personal Access Token (PAT) with the scope read:packages.
Create an environment file under apps/web/.env
. The minimum required configuration includes your PAT, the API endpoint of your PlentyONE system and the corresponding API security token:
# apps/web/.env
NPM_AUTH_TOKEN=
API_ENDPOINT=
API_SECURITY_TOKEN=
Download Node.js from the official website. We recommend using nvm to easily stay compatible with new versions. Then install all dependencies using Yarn.
# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
# downloads and installs Node.js according to the project version in .nvmrc
nvm install
# downloads and installs Yarn according to the project version, and downloads, installs, and builds all dependencies
npm run setup:unix
Run yarn dev
to start the development server. The app will be served with hot reload at localhost:3000.
- Turborepo remote cache build system, with blazingly fast execution of commands (build, lint, test etc.) on your local machine.
- TypeScript support.
- Nuxt.js 3 & Server Side Rendering for great UX, loading and SEO scores.
- Beautiful components built with TailwindCSS and Storefront UI - a lightweight, accessible, and customizable component library built for e-commerce.
- Unit tests with Vitest and Vue Test Utils.
- ESLint for code linting.
- Prettier code formatter.
- Husky for working with Git hooks efficiently.
- Conventional Commits standard for commit messages.
- Staged code linting with lint-staged.
- Progressive Web App features with Vite PWA for Nuxt.
i18n
localisation powered by Nuxt-i18n.- Alokai SDK ready - integrate headless E-commerce platform with your project easily.
- Alokai Middleware.
- Maximized lighthouse score.
- Introduction to learn what is Alokai.
- Alokai Documentation
- Storefront UI Documentation
- Community Chat
Distributed under the MIT License. See LICENSE for more information.
Please see our CONTRIBUTING.md for more information.
If you have any questions about this integration we will be happy to answer them on the plentymarkets
channel of the Alokai Discord.