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
- Code Examples: Every major concept should have a complete, runnable code example
- API Reference: Include full parameter lists, return types, and examples
- Best Practices: Highlight common pitfalls and recommended patterns
- Cross-links: Link between related concepts for easy navigation
- Version Tags: Mark features that require specific versions
Contributing
When adding new documentation:
- Update this README with the new file location
- Follow the existing markdown style
- Include code examples
- Add cross-references to related docs