Codi Documentation Guidelines

The internal reference for coding standards, architectural patterns, and conventions across all frontend and backend repositories built by the Codi team.

What's covered

    Frontend — Nuxt SPA

    Component conventions, composables, middleware, plugins, state management, and TypeScript patterns across all Nuxt apps. UI built with Tailwind CSS and DaisyUI.

    Backend — Express API

    Controllers, services, repositories, models, routes, validation (Joi), error handling, and middleware for booki-api.

    Shared Libraries

    codi-layer (shared Nuxt layer) and codi-node-utils (shared Node.js utilities) — what they export and how to use them.

    Nuxt Guide

    General Nuxt SPA standards extracted from the Booki codebase — folder structure, components, composables, plugins, middleware, state, and TypeScript conventions.

    Node / Express Guide

    General Node.js + Express + MongoDB standards — folder structure, controllers, services, repositories, models, routes, middleware, validation, and error handling.