# Initialisation d'un projet SmartStack Initialising a SmartStack project

`ss init <NomProjet>` scaffold un nouveau projet SmartStack complet : backend .NET (Clean Architecture 4-couches) + frontend React/Vite + configuration GitFlow + EF Core. `ss init <ProjectName>` scaffolds a complete SmartStack project: .NET backend (4-layer Clean Architecture) + React/Vite frontend + GitFlow and EF Core configuration.

## Syntaxe Syntax

    ss init <ProjectName> [options]

Option | Description Description
--- | ---
`--path <dir>` | Dossier cible (défaut : ./)Target directory (default: ./)
`--db <provider>` | Sqlite (défaut), Postgres, SqlServer Sqlite (default), Postgres, SqlServer
`--no-frontend` | Backend seul Backend only
`--force` | Écraser si le dossier existe Overwrite if the folder exists

## Structure générée Generated structure

Dossier Folder | Rôle Role
--- | ---
`src/<Project>.Domain/` | Entités, value objects Entities, value objects
`src/<Project>.Application/` | CQRS (Commands, Queries, Handlers)CQRS (Commands, Queries, Handlers)
`src/<Project>.Infrastructure/` | EF Core, enregistrements DI EF Core, DI registrations
`src/<Project>.Api/` | Controllers ASP.NET ASP.NET controllers
`web/` | React + Vite + Tailwind React + Vite + Tailwind
`migrations/` | Migrations EF Core EF Core migrations
`.claude/` | Skills locaux (si `--local`)Local skills (with `--local`)
`.smartstack/` | Métadonnées projet + arbre BA Project metadata + BA tree

## Étapes post-init Post-init steps

    cd MyProject
    ss dev                  # backend + frontend simultanés

Ouvrez Claude Code dans le dossier et invoquez `/ba-create-menu` pour démarrer la phase Business Analysis. Voyez la page Business Analyse. Open Claude Code in the folder and invoke `/ba-create-menu` to start the Business Analysis phase. See the Business Analysis page.