Skip to main content

Prerequisites

This tutorial assumse basic knowledge of a few concepts.

Node Project​

This guide assumes that you already have a NodeJS project initialized. While Basketry can generate code for any languge, it does do so using NPM packages, so a package.json file is required. This guide assumes that you already have initialized a NodeJS project.

Package managers​

In this guide, we'll talk about installing NPM packages and creating and running scripts. We assume that you already have a working knowledge of NPM or Yarn and know how to use your preferred package manager to perform those actions.

Getting started with NPM

Getting started with Yarn

Typescript​

Lastly, this guide will demonstrate building a service in Typescript. We assumes that you are either familiar with setting up a new project or have access to an existing project.

Visit https://www.typescriptlang.org/download/ for the official docs on setting up Typescript in your project. If you want to use the Typescript project scaffolding tool that were used to create the example projects, use the generator-ts-console Yeoman generator.