docs
  1. SCAYLE Resource Center
  2. Getting started
  3. Quick Start
  4. Project Setup

Project Setup

Prerequisites

To successfully complete this tutorial, you will need the following:

  1. Access to the SCAYLE Panel: You'll need to log into the SCAYLE Panel, which can be accessed through a unique URL based on your tenant key. The format for this URL is https://{{tenant-space}}.panel.scayle.cloud/. The SCAYLE Panel is your command center for managing the shop you'll set up with SCAYLE, where you can configure settings, manage products, and view analytics. Make sure you have your tenant key ready, which you should have received upon signing up for SCAYLE.
  2. NodeJS Installed: Node.js is a JavaScript runtime that allows you to run JavaScript on the server-side. It's crucial for developing and running the code examples provided in this guide. You can download and install Node.js from https://nodejs.org/en/download/.

Project Setup

Because this tutorial is meant as a quick introduction to SCAYLE's capabilities, we'll set up a basic nodeJS application. To keep things simple, we'll focus on one file at a time.

Before we start, make sure you do the following:

Install NodeJS

Verify that you have nodeJS installed with node -v. Otherwise head here to install.

Create your project directory

Create a directory in your development folder:

mkdir academy-getting-started
cd academy-getting-started

Optional: Debugging on VSCode

If you're using VSCode, create a .vscode directory and add a launch.json.

This will make it easy to launch the currently open file and set breakpoints.

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Launch Current Opened File",
      "program": "${file}",
      "console": "integratedTerminal"
    }
  ]
}

In the next section, you'll learn how to add data to your shop.