// Shared configuration for fullstack project

/** API base URL — reads from env or defaults */
export const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || "http://localhost:3001";

/** API prefix for all endpoints */
export const API_PREFIX = "/api";

/** Full API URL */
export const API_URL = `${API_BASE_URL}${API_PREFIX}`;

/** Auth token storage key */
export const AUTH_TOKEN_KEY = "auth_token";

/** Default page size for paginated endpoints */
export const DEFAULT_PAGE_SIZE = 20;
