moex-vibe/apps/docs/sidebars.ts
Sergey Krylov c2478277e6
Some checks failed
CI / lint (pull_request) Failing after 1m45s
CI / test (pull_request) Failing after 1m42s
CI / build (pull_request) Failing after 1m31s
CI / lint (push) Failing after 1m46s
CI / test (push) Failing after 1m34s
CI / build (push) Failing after 1m35s
feat: add authentication system with JWT + RBAC
Backend:
- AuthModule with register, login, logout, refresh, profile endpoints
- JwtAuthGuard (global, opt-out via @Public) + RolesGuard (@Roles)
- PrismaModule with SQLite via @prisma/adapter-libsql (Prisma 7)
- Auth configuration in configuration.ts

Frontend:
- Auth context with session restoration via refresh cookie
- Login, Register, Profile pages with ProtectedRoute
- Auto-refresh on 401 with token rotation
- API client refactored for auth headers

Russian text: auth flows translated to Russian
All text translated: auth pages, profile, layout, loading states
2026-06-13 22:24:46 +03:00

68 lines
1.5 KiB
TypeScript

import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docsSidebar: [
'intro',
'getting-started',
'architecture',
{
type: 'category',
label: 'Backend',
items: [
'backend/overview',
'backend/modules',
'backend/api',
'backend/auth',
'backend/database',
'backend/configuration',
'backend/caching',
'backend/moex-client',
],
},
{
type: 'category',
label: 'Frontend',
items: [
'frontend/overview',
'frontend/routes',
'frontend/components',
'frontend/hooks',
'frontend/api-client',
'frontend/styling',
],
},
{
type: 'category',
label: 'Infrastructure',
items: ['infrastructure/docker', 'infrastructure/ci'],
},
{
type: 'category',
label: 'Development',
items: [
'development/commands',
'development/testing',
'development/codegen',
'development/conventions',
],
},
{
type: 'category',
label: 'Architecture Decisions (ADR)',
items: [
'adr/index',
'adr/ADR-001-backend-single-point-of-access',
'adr/ADR-002-in-memory-cache',
'adr/ADR-003-rate-limiting-strategy',
'adr/ADR-004-feature-modules',
'adr/ADR-005-openapi-codegen-frontend',
'adr/ADR-006-no-cci',
'adr/ADR-007-two-level-caching',
'adr/ADR-008-auth-system',
],
},
],
};
export default sidebars;