Démarrage

Prérequis

Installation de Bun v1.1.21

  • Pour MacOs/Linux

curl -fsSL https://bun.sh/install | bash
  • Pour windows

powershell -c "irm bun.sh/install.ps1 | iex"

Création d'un projet

Via CLI

bunx @dnax/cli@latest create server

Démarrage

bun run dev 

ou directement dans votre script

//package.json
{
  scripts:{
    "dev":"dnaxi --dev",
    "start":"dnaxi --start"
  }
}

⚙️ Configuration

Last updated