Aller au contenu

Structure du projet

Votre nouveau projet Saasfly généré à partir de l’assistant CLI create saasfly inclut déjà certains fichiers et dossiers. Vous en créerez d’autres vous-même et les ajouterez à la structure de fichiers existante de Saasfly.

  • Répertoireapps
    • Répertoirenextjs
      • Répertoirepublic
        • favicon.ico
        • logo.svg
      • Répertoiresrc
        • Répertoireapp
          • Répertoire[lang]
            • Répertoire(auth)
              • …
            • Répertoire(dashboard)
              • …
            • Répertoire(docs)
              • …
            • Répertoire(editor)
              • …
            • Répertoire(marketing)
              • page.tsx
          • api
          • layout.tsx
          • robots.ts
        • Répertoirecomponents
          • …
        • Répertoireconfig
          • …
        • Répertoirecontent
          • …
        • Répertoirehooks
          • …
        • Répertoirelib
          • …
        • Répertoirestyles
          • …
        • Répertoiretrpc
          • …
        • Répertoiretypes
          • …
        • Répertoireutils
          • …
        • env.mjs
        • middleware.ts
      • contentlayer.config.js
      • next.config.mjs
      • package.json
      • postcss.config.cjs
      • tailwind.config.ts
      • tsconfig.json
  • Répertoirepackages
    • Répertoireapi
      • …
    • Répertoireauth
      • …
    • Répertoirecommon
      • …
    • Répertoiredb
      • Répertoireprisma
        • enums.ts
        • schema.prisma
        • types.ts
      • index.ts
    • Répertoirestripe
      • …
    • Répertoireui
      • …
  • Répertoiretooling
    • Répertoireeslint-config
      • …
    • Répertoireprettier-config
      • …
    • Répertoiretailwind-config
      • …
    • Répertoiretypescript-config
      • …
  • Répertoireturbo
    • Répertoiretemplates
      • …
    • config.ts
  • .env.example
  • CODE_OF_CONDUCT.md
  • CONTRIBUTION.md
  • LICENSE
  • package.json
  • README.md
  • turbo.json
  • vercel.json