Getting Started
Get up and running with Leonid Suite in just a few minutes.
Introduction
Leonid Suite is a powerful platform for building and managing custom applications. This guide will walk you through the basics of setting up your first project.
Installation
First, install the Leonid Suite SDK using npm or yarn:
npm install @leonid-suite/sdkOr with yarn:
yarn add @leonid-suite/sdkConfiguration
Create a configuration file in your project root:
// leonid.config.js
export default {
apiKey: 'your-api-key',
projectId: 'your-project-id',
environment: 'development'
}Your First Application
Here's a simple example to get you started:
import { LeonidClient } from '@leonid-suite/sdk';
const client = new LeonidClient({
apiKey: process.env.LEONID_API_KEY
});
// Create a new application
const app = await client.apps.create({
name: 'My First App',
description: 'A simple example application'
});
console.log('App created:', app.id);