Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 901 Bytes

folder-structure.md

File metadata and controls

13 lines (12 loc) · 901 Bytes

Folder structure

  • apps: Applications which can be run
    • app: The main application
      • src: Separate modules of the application. These should be defined based on domains. If a module should be able to be used in other apps, it should be moved to the packages folder instead.
        • app: Routes of the Next.js application. Most of the modules will be used here.
        • common: Module for common code used by other modules
        • authentication: Module for all authentication related code
        • users: Module for all user related code
        • teams: Module for all team related code
        • shadcn: Temporary onboarding location for shadcn/ui components before they got adapted to our default structure for React components and got moved to the common module.
    • playwright: E2E tests for applications
  • packages: hared code which can be used by multiple apps