Setup your environment
Prerequisites
Install Node.js
Node is a server platform which runs JavaScript. It's lightweight and efficient. It has the largest ecosystem of open source libraries in the world.
WARNING
At the time of writing the KDK modules v2.x (master
branch) are expected to work with Node.js 16.x and KDK modules v1.x are expected to work with Node.js 12.x
TIP
In order to be able to switch easily between different versions of Node.js we recommand to use a version manager like n/nvm under Linux/Mac or nvm under Windows.
Install Git
git is the version control system most frequently used in open source. There are many resources available for installing it.
TIP
Under Windows we recommand using Tortoise Git and to set the autocrlf
flag in settings.
Install MongoDB
Mongo is an open-source, document database designed for ease of development and scaling.
WARNING
At the time of writing the KDK modules v2.x (master
branch) are expected to work with MongoDB 4.x and KDK modules v1.x are expected to work with MongoDB 3.x
Install Yarn
Due to some changes in the way npm
manages linked modules we prefer to use Yarn as a package manager.
Install Yarn on your platform.
Web app
Please follow our application template installation from source code guide.