A comprehensive guide to understanding and navigating the FM Bridge project structure. Use this page to determine where to place new files and components.
app/auth/ - All NextAuth.js related pages go here (login, logout, error pages, etc.)
app/core/ - Pages that are reusable across different projects and integrations
app/roundup/ - Pages specific to the Roundup integration
app/api/ - Create subdirectories based on functionality (auth, roundup, supabase, etc.)
components/auth/ - Components related to user authentication and session management
components/core/ - Reusable components that work across different projects
components/roundup/ - Components specific to Roundup functionality
lib/ - All utility functions, services, and helper modules go here
Create new directories in both app/ and components/ (e.g., app/integration-name/, components/integration-name/)
app/auth/ - Authentication pagesapp/core/ - Core system pagesapp/roundup/ - Roundup pagesapp/api/ - API endpointscomponents/auth/ - Auth componentscomponents/core/ - Core componentscomponents/roundup/ - Roundup componentslib/ - Utilities & services