Skip to content

Latest commit

 

History

History
123 lines (84 loc) · 5.93 KB

README.md

File metadata and controls

123 lines (84 loc) · 5.93 KB
PlentyONE logo

powered by

alokai logo

Alokai integration with PlentyONE

GitHub Repo stars X Follow YouTube Channel Subscribers Discord

Welcome to the PlentyONE integration for Alokai.

Development setup

This section describes how to run the project locally with the preconfigured demo system.

Fork repository

We recommend working with a fork of this repository. A fork allows you to easily incorporate updates from this boilerplate into your own codebase.

  1. Create a fork.
  2. Clone the forked repository.

Create authentication token

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.

Set up environment

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

Start the app

Run yarn dev to start the development server. The app will be served with hot reload at localhost:3000.

Resources

Documentation

Changelog

EnglishGerman

Features

Alokai

License

Distributed under the MIT License. See LICENSE for more information.

Contributing

Please see our CONTRIBUTING.md for more information.

Support

If you have any questions about this integration we will be happy to answer them on the plentymarkets channel of the Alokai Discord.