Welcome to IMDOS UI | Developed By Imdadullah Babu

IMDOS UI

Directory Structure


Root Directory

  • app This directory contains the main application code, including pages, API routes, and other core functionality of the Next.js app.
  • components This directory houses reusable UI components used throughout the application. These components can be imported and used in various parts of the app to maintain consistency and modularity.
  • layout This directory contains the layout structure for the admin panel. It defines the overall look and feel of the admin interface, including common elements like headers, footers, and sidebars.
  • lib This directory stores various utility functions, helpers, and external libraries that can be used throughout the application to keep the code organized and DRY (Don't Repeat Yourself).
  • provider This directory contains the library and pre-defined IMDOS UI functions, providing essential services and context to different parts of the application, ensuring consistent data flow and state management.
  • public This directory is for static assets such as images, fonts, and other files that need to be served directly to the client. Anything placed in this directory can be accessed via a URL relative to the root of the site.

App Directory

  • (authentication) This directory is likely used for handling authentication-related code, such as login, logout, and user session management. It might include components, hooks, and utilities to manage user authentication state.
  • admin This directory contains the modules and page codes for the admin panel. It includes various admin-specific functionalities, components, and pages that are accessible only to users with administrative privileges.
  • api This directory is used for defining API routes. These routes are used to handle server-side logic and can be accessed from the client-side code to perform operations like fetching data, submitting forms, and other backend interactions.

Tip: You can use your own authentication flow, by changing the (authentication) and api/authentication/route.js files code