npm create app@latest -t elbx
npm
, yarn
, or pnpm
templates
npx elbx new my-project
cd my-project
npm install
npm start
Use the CLI or our web interface to generate a new project template
Set your API key in the .env file or configuration settings
Create and test application components using our development tools
Authorization: Bearer <API_KEY>
<API_KEY>
with your personal access token
GET /api/v1/user
POST /api/v1/project
{ "name": "my-new-app", "type": "web", "description": "Awesome new project" }
import { ElbxClient } from 'elbx-sdk';
const client = new ElbxClient({
apiKey: 'your-api-key'
});
client.projects.create({
name: 'my-project',
type: 'web'
});
from elbx import Client
client = Client('your-api-key')
client.projects.create(
name='my-project',
type='web'
)
.env
file:
ELBX_API_KEY=...
ELBX_API_URL=https://api.elbx.com
ELBX_PROJECT_ID=your-project
elbx.config.js
:
module.exports = {
apiKey: process.env.ELBX_API_KEY,
projectId: process.env.ELBX_PROJECT_ID,
env: 'dev'
}
elbx dev
elbx build
elbx deploy
ELBX_001: API_KEY_NOT_FOUND
ELBX_002: INVALID_PROJECT_TYPE