swadhinbiswas p0: site infrastructure — full nav, design system, hero component, sitemap · 7/24/2026
2434807
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://justapi.dev',
integrations: [
starlight({
title: 'JustAPI',
description: 'Rust-powered, FastAPI-class web framework for Python. 700k+ RPS, zero-GIL execution.',
logo: {
src: './src/assets/logo.svg',
replacesTitle: false,
},
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/swadhinbiswas/JustAPI' },
],
customCss: ['./src/styles/custom.css'],
editLink: {
baseUrl: 'https://github.com/swadhinbiswas/JustAPI/edit/main/docs_site',
},
head: [
{
tag: 'meta',
attrs: { property: 'og:title', content: 'JustAPI — Rust-Powered Python Web Framework' },
},
{
tag: 'meta',
attrs: { property: 'og:description', content: 'The speed of Rust. The elegance of Python. A drop-in replacement for FastAPI engineered for extreme throughput.' },
},
{
tag: 'meta',
attrs: { property: 'og:image', content: 'https://justapi.dev/og-image.png' },
},
{
tag: 'meta',
attrs: { name: 'twitter:card', content: 'summary_large_image' },
},
],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Overview & Philosophy', link: 'getting-started/overview/' },
{ label: 'Installation', link: 'getting-started/installation/' },
{ label: 'First Steps', link: 'getting-started/first-steps/' },
{ label: 'CLI Project Scaffolder', link: 'getting-started/cli-scaffolder/' },
{ label: 'Migrating from FastAPI', link: 'getting-started/migrating-from-fastapi/' },
],
},
{
label: 'Tutorials',
items: [
{ label: 'Hello World', link: 'tutorials/hello-world/' },
{ label: 'Path & Query Parameters', link: 'tutorials/path-query-params/' },
{ label: 'Request Body & Validation', link: 'tutorials/request-body/' },
{ label: 'Dependency Injection', link: 'tutorials/dependency-injection/' },
{ label: 'Middleware', link: 'tutorials/middleware/' },
{ label: 'Error Handling', link: 'tutorials/error-handling/' },
{ label: 'File Uploads', link: 'tutorials/file-uploads/' },
{ label: 'WebSockets & SSE', link: 'tutorials/websockets-sse/' },
{ label: 'Database Integration', link: 'tutorials/database-integration/' },
{ label: 'Background Tasks', link: 'tutorials/background-tasks/' },
{ label: 'Routing & Sub-routers', link: 'tutorials/routing-subrouters/' },
],
},
{
label: 'API Reference',
items: [
{ label: 'Overview', link: 'api-reference/' },
{ label: 'JustAPIApp', link: 'api-reference/justapiapp/' },
{ label: 'Routing', link: 'api-reference/routing/' },
{ label: 'APIRouter', link: 'api-reference/apirouter/' },
{ label: 'Request Object', link: 'api-reference/request/' },
{ label: 'Response Classes', link: 'api-reference/responses/' },
{ label: 'Dependency Injection', link: 'api-reference/dependency-injection/' },
{ label: 'Exceptions & Errors', link: 'api-reference/exceptions/' },
{ label: 'Schema & Validation', link: 'api-reference/schema-validation/' },
{ label: 'WebSockets', link: 'api-reference/websockets/' },
{ label: 'Background Tasks', link: 'api-reference/background-tasks/' },
{ label: 'Scheduler', link: 'api-reference/scheduler/' },
{ label: 'Session (Agent)', link: 'api-reference/session/' },
{ label: 'Plugin System', link: 'api-reference/plugins/' },
{ label: 'Testing Client', link: 'api-reference/testing-client/' },
{ label: 'UploadFile', link: 'api-reference/uploadfile/' },
{ label: 'Database', link: 'api-reference/database/' },
],
},
{
label: 'Advanced Guides',
items: [
{ label: 'Zero-GIL Architecture', link: 'advanced/zero-gil-architecture/' },
{ label: 'Rust Core Deep Dive', link: 'advanced/rust-core-deep-dive/' },
{ label: 'PyO3 & FFI Safety', link: 'advanced/pyo3-ffi-safety/' },
{ label: 'Native Fast Path', link: 'advanced/native-fast-path/' },
{ label: 'Multi-Protocol APIs', link: 'advanced/multi-protocol-apis/' },
{ label: 'Agent System', link: 'advanced/agent-system/' },
{ label: 'Streaming Output', link: 'advanced/streaming-output/' },
{ label: 'Performance Tuning', link: 'advanced/performance-tuning/' },
{ label: 'Resilience Patterns', link: 'advanced/resilience-patterns/' },
],
},
{
label: 'Deployment',
items: [
{ label: 'Docker & Docker Compose', link: 'deployment/docker/' },
{ label: 'Kubernetes / Helm', link: 'deployment/kubernetes-helm/' },
{ label: 'Cloudflare Pages', link: 'deployment/cloudflare-pages/' },
{ label: 'Google Cloud (GKE)', link: 'deployment/gke/' },
{ label: 'Amazon EKS', link: 'deployment/eks/' },
{ label: 'Azure AKS', link: 'deployment/aks/' },
{ label: 'Fly.io', link: 'deployment/flyio/' },
{ label: 'Railway', link: 'deployment/railway/' },
{ label: 'Production Checklist', link: 'deployment/production-checklist/' },
],
},
{
label: 'Security',
items: [
{ label: 'Security Policy', link: 'security/policy/' },
{ label: 'OWASP Compliance', link: 'security/owasp-compliance/' },
{ label: 'Penetration Testing', link: 'security/penetration-testing/' },
{ label: 'Secure Configuration', link: 'security/secure-configuration/' },
],
},
{
label: 'Observability',
items: [
{ label: 'Metrics & Monitoring', link: 'observability/metrics-monitoring/' },
{ label: 'OpenTelemetry', link: 'observability/opentelemetry/' },
{ label: 'Structured Logging', link: 'observability/structured-logging/' },
{ label: 'Health Checks', link: 'observability/health-checks/' },
],
},
{
label: 'Reference',
items: [
{ label: 'CLI Reference', link: 'reference/cli/' },
{ label: 'Configuration', link: 'reference/configuration/' },
{ label: 'Release Notes', link: 'reference/release-notes/' },
{ label: 'ADR Index', link: 'reference/adr-index/' },
{ label: 'Error Codes', link: 'reference/error-codes/' },
{ label: 'Glossary', link: 'reference/glossary/' },
],
},
{
label: 'Contributing',
items: [
{ label: 'Development Setup', link: 'contributing/development-setup/' },
{ label: 'Coding Standards', link: 'contributing/coding-standards/' },
{ label: 'Testing Guide', link: 'contributing/testing-guide/' },
{ label: 'Benchmarking Guide', link: 'contributing/benchmarking-guide/' },
{ label: 'Documentation Guide', link: 'contributing/documentation-guide/' },
],
},
{
label: 'Examples',
link: 'examples/',
},
],
}),
sitemap(),
],
});