Skip to content

Project Structure

Your new Saasfly project generated from the create saasfly CLI wizard already includes some files and folders. Others, you will create yourself and add to Saasfly’s existing file structure.

  • Directoryapps
    • Directorynextjs
      • Directorypublic
        • favicon.ico
        • logo.svg
      • Directorysrc
        • Directoryapp
          • Directory[lang]
            • Directory(auth)
            • Directory(dashboard)
            • Directory(docs)
            • Directory(editor)
            • Directory(marketing)
              • page.tsx
          • api
          • layout.tsx
          • robots.ts
        • Directorycomponents
        • Directoryconfig
        • Directorycontent
        • Directoryhooks
        • Directorylib
        • Directorystyles
        • Directorytrpc
        • Directorytypes
        • Directoryutils
        • env.mjs
        • middleware.ts
      • contentlayer.config.js
      • next.config.mjs
      • package.json
      • postcss.config.cjs
      • tailwind.config.ts
      • tsconfig.json
  • Directorypackages
    • Directoryapi
    • Directoryauth
    • Directorycommon
    • Directorydb
      • Directoryprisma
        • enums.ts
        • schema.prisma
        • types.ts
      • index.ts
    • Directorystripe
    • Directoryui
  • Directorytooling
    • Directoryeslint-config
    • Directoryprettier-config
    • Directorytailwind-config
    • Directorytypescript-config
  • Directoryturbo
    • Directorytemplates
    • config.ts
  • .env.example
  • CODE_OF_CONDUCT.md
  • CONTRIBUTION.md
  • LICENSE
  • package.json
  • README.md
  • turbo.json
  • vercel.json