Nitrocloud LogoNitroStack
/documentation index

NitroStack Documentation Structure

This directory contains the source-of-truth markdown documentation for NitroStack.

Structure

docs/
ā”œā”€ā”€ README.md                    # This file
ā”œā”€ā”€ cli/                         # CLI Documentation (Universal)
│   ā”œā”€ā”€ 01-introduction.md
│   ā”œā”€ā”€ 02-installation.md
│   ā”œā”€ā”€ 03-init-command.md
│   ā”œā”€ā”€ 04-dev-command.md
│   ā”œā”€ā”€ 05-build-command.md
│   └── 06-configuration.md
│
ā”œā”€ā”€ sdk/                         # SDK Documentation (Language-specific)
│   └── typescript/
│       ā”œā”€ā”€ 01-quick-start.md
│       ā”œā”€ā”€ 02-core-concepts/
│       │   ā”œā”€ā”€ server.md
│       │   ā”œā”€ā”€ tools.md
│       │   ā”œā”€ā”€ resources.md
│       │   ā”œā”€ā”€ prompts.md
│       │   └── middleware.md
│       ā”œā”€ā”€ 03-ui-components/
│       │   ā”œā”€ā”€ overview.md
│       │   ā”œā”€ā”€ creating-widgets.md
│       │   ā”œā”€ā”€ nextjs-integration.md
│       │   ā”œā”€ā”€ data-binding.md
│       │   └── hot-reload.md
│       ā”œā”€ā”€ 04-authentication/
│       │   ā”œā”€ā”€ overview.md
│       │   ā”œā”€ā”€ oauth-2.1.md
│       │   ā”œā”€ā”€ jwt-auth.md
│       │   ā”œā”€ā”€ api-key-auth.md
│       │   └── security-best-practices.md
│       ā”œā”€ā”€ 05-advanced/
│       │   ā”œā”€ā”€ middleware-system.md
│       │   ā”œā”€ā”€ lifecycle-hooks.md
│       │   ā”œā”€ā”€ error-handling.md
│       │   ā”œā”€ā”€ logging.md
│       │   └── testing.md
│       ā”œā”€ā”€ 06-inspector/
│       │   ā”œā”€ā”€ overview.md
│       │   ā”œā”€ā”€ testing-tools.md
│       │   ā”œā”€ā”€ chat-interface.md
│       │   └── debugging.md
│       └── 07-api-reference/
│           ā”œā”€ā”€ server-api.md
│           ā”œā”€ā”€ tool-api.md
│           ā”œā”€ā”€ resource-api.md
│           ā”œā”€ā”€ prompt-api.md
│           ā”œā”€ā”€ component-api.md
│           └── types.md
│
ā”œā”€ā”€ templates/                   # Template Documentation
│   ā”œā”€ā”€ typescript-basic.md
│   └── typescript-auth.md
│
ā”œā”€ā”€ deployment/                  # Deployment Guides
│   ā”œā”€ā”€ production-checklist.md
│   ā”œā”€ā”€ docker.md
│   ā”œā”€ā”€ cloud-platforms.md
│   └── monitoring.md
│
└── guides/                      # How-to Guides
    ā”œā”€ā”€ building-first-server.md
    ā”œā”€ā”€ adding-authentication.md
    ā”œā”€ā”€ creating-ui-widgets.md
    ā”œā”€ā”€ integrating-databases.md
    └── best-practices.md

Documentation Guidelines

  1. Code Examples: Every major concept should have a complete, runnable code example
  2. API Reference: Include full parameter lists, return types, and examples
  3. Best Practices: Highlight common pitfalls and recommended patterns
  4. Cross-links: Link between related concepts for easy navigation
  5. Version Tags: Mark features that require specific versions

Contributing

When adding new documentation:

  1. Update this README with the new file location
  2. Follow the existing markdown style
  3. Include code examples
  4. Add cross-references to related docs