@seip/blue-bird 0.7.5 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.env_example +34 -36
  2. package/AGENTS.md +174 -241
  3. package/LICENSE +21 -21
  4. package/README.md +312 -343
  5. package/{index.js → backend/index.js} +22 -30
  6. package/backend/routes/api.js +57 -57
  7. package/core/app.js +338 -402
  8. package/core/auth.js +262 -256
  9. package/core/cache.js +174 -174
  10. package/core/cli/docker.js +488 -370
  11. package/core/cli/init.js +332 -238
  12. package/core/cli/route.js +42 -42
  13. package/core/config.js +52 -52
  14. package/core/database.js +263 -182
  15. package/core/debug.js +248 -248
  16. package/core/logger.js +115 -115
  17. package/core/middleware.js +27 -27
  18. package/core/router.js +144 -144
  19. package/core/swagger.js +40 -40
  20. package/core/upload.js +77 -77
  21. package/core/validate.js +380 -380
  22. package/docker/Dockerfile +16 -16
  23. package/docker/docker-compose.dev.yml +6 -0
  24. package/docker/docker-compose.mysql.yml +92 -0
  25. package/docker/docker-compose.none.yml +68 -0
  26. package/docker/docker-compose.postgres.yml +93 -0
  27. package/docker/nginx.conf +98 -106
  28. package/docker-compose.yml +92 -93
  29. package/frontend/about.html +98 -0
  30. package/frontend/css/app.css +0 -0
  31. package/frontend/favicon.ico +0 -0
  32. package/frontend/index.html +141 -0
  33. package/frontend/js/bundle.js +8 -0
  34. package/package.json +64 -72
  35. package/backend/logs/2026-07-14/info.log +0 -48
  36. package/frontend/astro.config.mjs +0 -35
  37. package/frontend/public/css/app.css +0 -319
  38. package/frontend/public/favicon.ico +0 -0
  39. package/frontend/src/http/api.js +0 -29
  40. package/frontend/src/layouts/Layout.astro +0 -20
  41. package/frontend/src/pages/about.astro +0 -54
  42. package/frontend/src/pages/index.astro +0 -110
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" data-theme="dark">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Blue Bird - About</title>
8
+ <link rel="canonical" href="https://seip25.github.io/Blue-bird/" />
9
+ <meta name="description" content="Blue Bird is a fast, structured, and opinionated Express.js framework for developers who want
10
+ visual elegance and performance with raw HTML and CSS.">
11
+ <meta name="keywords" content="">
12
+ <meta name="author" content="Seip25">
13
+ <link rel="icon" href="/favicon.ico" />
14
+ </head>
15
+
16
+ <body class="min-h-screen bg-slate-950 text-white font-sans antialiased selection:bg-blue-500 selection:text-white">
17
+ <header class="sticky top-0 z-50 px-4 py-3">
18
+ <div
19
+ class="max-w-7xl mx-auto flex items-center justify-between backdrop-blur-md bg-slate-900/60 border border-white/10 rounded-2xl px-6 py-3 shadow-lg">
20
+ <div class="flex items-center space-x-3">
21
+ <div
22
+ class="w-10 h-10 bg-gradient-to-tr from-blue-500 to-indigo-600 rounded-xl flex items-center justify-center shadow-md shadow-blue-500/30">
23
+ <svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
24
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
25
+ d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
26
+ </svg>
27
+ </div>
28
+ <span
29
+ class="text-xl font-bold tracking-tight bg-gradient-to-r from-blue-400 via-indigo-200 to-white bg-clip-text text-transparent">Blue
30
+ Bird</span>
31
+ </div>
32
+
33
+ <nav class="flex space-x-8 text-sm font-medium text-slate-300">
34
+ <a href="/" class="hover:text-blue-400 transition-colors">Home</a>
35
+ <a href="/about" class="hover:text-blue-400 transition-colors">About</a>
36
+ </nav>
37
+ </div>
38
+ </header>
39
+
40
+ <main class="max-w-7xl mx-auto px-4 pt-12 pb-24">
41
+
42
+ <div
43
+ class="relative py-16 px-6 md:px-12 rounded-3xl overflow-hidden bg-gradient-to-b from-blue-900/20 to-slate-950 border border-white/5 shadow-2xl mb-12">
44
+ <div class="relative max-w-4xl mx-auto space-y-6 text-center">
45
+ <h1
46
+ class="text-4xl sm:text-5xl font-extrabold tracking-tight bg-gradient-to-r from-blue-400 via-indigo-300 to-white bg-clip-text text-transparent">
47
+ About Blue Bird
48
+ </h1>
49
+ <p class="text-lg sm:text-xl text-slate-400 leading-relaxed max-w-2xl mx-auto">
50
+ Built for performance, simplicity, and raw speed.
51
+ </p>
52
+ </div>
53
+ </div>
54
+
55
+ <section class="max-w-4xl mx-auto space-y-12">
56
+ <article class="p-8 rounded-2xl bg-slate-900/40 border border-white/5 shadow-xl">
57
+ <h2 class="text-2xl font-bold text-white mb-4">Our Philosophy</h2>
58
+ <p class="text-slate-400 leading-relaxed mb-4">
59
+ Blue Bird was born out of a desire for a clean, performance-first approach to web development. We believe in harnessing the raw power of Express.js and Nginx, stripping away unnecessary bloat, and providing developers with a robust foundation that just works.
60
+ </p>
61
+ <p class="text-slate-400 leading-relaxed">
62
+ By separating the static frontend delivery (handled blazingly fast by Nginx) from the dynamic API layer (powered by Express and Redis), Blue Bird achieves unparalleled performance out of the box.
63
+ </p>
64
+ </article>
65
+
66
+ <article class="p-8 rounded-2xl bg-slate-900/40 border border-white/5 shadow-xl">
67
+ <h2 class="text-2xl font-bold text-white mb-4">Why Blue Bird?</h2>
68
+ <ul class="space-y-3 text-slate-400">
69
+ <li class="flex items-start">
70
+ <span class="text-blue-500 mr-2">✓</span>
71
+ <span><strong>Zero Config Docker:</strong> Go from development to production seamlessly.</span>
72
+ </li>
73
+ <li class="flex items-start">
74
+ <span class="text-blue-500 mr-2">✓</span>
75
+ <span><strong>Military Grade Security:</strong> Built-in AES-256-GCM JWT encryption.</span>
76
+ </li>
77
+ <li class="flex items-start">
78
+ <span class="text-blue-500 mr-2">✓</span>
79
+ <span><strong>High Performance:</strong> Redis caching for the data layer and Nginx static delivery.</span>
80
+ </li>
81
+ <li class="flex items-start">
82
+ <span class="text-blue-500 mr-2">✓</span>
83
+ <span><strong>Pure HTML/CSS:</strong> No bloated frontend frameworks. Write code close to the metal.</span>
84
+ </li>
85
+ </ul>
86
+ </article>
87
+ </section>
88
+ </main>
89
+
90
+ <footer class="border-t border-white/5 py-8 bg-slate-950 mt-16">
91
+ <div class="max-w-7xl mx-auto px-4 text-center text-sm text-slate-500">
92
+ <p>Powered by Blue Bird Framework. All rights reserved.</p>
93
+ </div>
94
+ </footer>
95
+ <script src="/js/bundle.js"></script>
96
+ </body>
97
+
98
+ </html>
File without changes
Binary file
@@ -0,0 +1,141 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" data-theme="dark">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Blue Bird</title>
8
+ <link rel="canonical" href="https://seip25.github.io/Blue-bird/" />
9
+ <meta name="description" content="Blue Bird is a fast, structured, and opinionated Express.js framework for developers who want
10
+ visual elegance and performance with raw HTML and CSS.">
11
+ <meta name="keywords" content="">
12
+ <meta name="author" content="Seip25">
13
+ <link rel="icon" href="/favicon.ico" />
14
+ </head>
15
+
16
+ <body class="min-h-screen bg-slate-950 text-white font-sans antialiased selection:bg-blue-500 selection:text-white">
17
+ <header class="sticky top-0 z-50 px-4 py-3">
18
+ <div
19
+ class="max-w-7xl mx-auto flex items-center justify-between backdrop-blur-md bg-slate-900/60 border border-white/10 rounded-2xl px-6 py-3 shadow-lg">
20
+ <div class="flex items-center space-x-3">
21
+ <div
22
+ class="w-10 h-10 bg-gradient-to-tr from-blue-500 to-indigo-600 rounded-xl flex items-center justify-center shadow-md shadow-blue-500/30">
23
+ <svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
24
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
25
+ d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
26
+ </svg>
27
+ </div>
28
+ <span
29
+ class="text-xl font-bold tracking-tight bg-gradient-to-r from-blue-400 via-indigo-200 to-white bg-clip-text text-transparent">Blue
30
+ Bird</span>
31
+ </div>
32
+
33
+ <nav class="flex space-x-8 text-sm font-medium text-slate-300">
34
+ <a href="/" class="hover:text-blue-400 transition-colors">Home</a>
35
+ <a href="/about" class="hover:text-blue-400 transition-colors">About</a>
36
+ </nav>
37
+ </div>
38
+ </header>
39
+
40
+ <main class="max-w-7xl mx-auto px-4 pt-12 pb-24">
41
+
42
+ <div
43
+ class="relative py-16 px-6 md:px-12 rounded-3xl overflow-hidden bg-gradient-to-b from-blue-900/20 to-slate-950 border border-white/5 shadow-2xl">
44
+ <div class="absolute -top-40 -left-40 w-96 h-96 bg-blue-500/10 rounded-full blur-3xl"></div>
45
+ <div class="absolute -right-40 -bottom-40 w-96 h-96 bg-indigo-500/10 rounded-full blur-3xl"></div>
46
+
47
+ <div class="relative max-w-4xl mx-auto text-center space-y-8">
48
+ <span
49
+ class="inline-flex items-center px-4 py-1.5 rounded-full text-xs font-semibold tracking-wider bg-blue-500/10 text-blue-400 border border-blue-500/20 uppercase">
50
+ Welcome to Blue Bird
51
+ </span>
52
+
53
+ <h1
54
+ class="text-4xl sm:text-6xl font-extrabold tracking-tight bg-gradient-to-r from-blue-400 via-indigo-300 to-white bg-clip-text text-transparent">
55
+ Hello, Developer! Welcome to the next level.
56
+ </h1>
57
+
58
+ <p class="text-lg sm:text-xl text-slate-400 leading-relaxed max-w-2xl mx-auto">
59
+ Blue Bird is a fast, structured, and opinionated Express.js framework for developers who want
60
+ visual elegance and performance with raw HTML and CSS.
61
+ </p>
62
+
63
+ <div class="flex flex-wrap justify-center gap-4 pt-4">
64
+ <a href="/about"
65
+ class="px-8 py-3.5 rounded-xl font-semibold bg-gradient-to-r from-blue-500 to-indigo-600 hover:from-blue-600 hover:to-indigo-700 shadow-lg shadow-blue-500/20 transform hover:-translate-y-0.5 transition-all">
66
+ About Us &rarr;
67
+ </a>
68
+ <a href="https://github.com/seip25/Blue-bird" target="_blank"
69
+ class="px-8 py-3.5 rounded-xl font-semibold bg-slate-900 border border-white/10 hover:bg-slate-800 transition-all">
70
+ GitHub
71
+ </a>
72
+ </div>
73
+ </div>
74
+ </div>
75
+
76
+ <section class="mt-24 space-y-12">
77
+ <div class="text-center space-y-3">
78
+ <h2 class="text-3xl font-bold bg-gradient-to-r from-white to-slate-400 bg-clip-text text-transparent">
79
+ High-Performance Core Features</h2>
80
+ <p class="text-slate-400">Everything preconfigured to serve raw, optimized HTML with minimal
81
+ overhead.</p>
82
+ </div>
83
+
84
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
85
+ <div
86
+ class="group relative p-8 rounded-2xl bg-slate-900/40 border border-white/5 hover:border-blue-500/30 transition-all duration-300 hover:shadow-xl hover:shadow-blue-500/5 hover:-translate-y-1">
87
+ <div
88
+ class="w-12 h-12 bg-blue-500/10 text-blue-400 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
89
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
90
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
91
+ d="M13 10V3L4 14h7v7l9-11h-7z" />
92
+ </svg>
93
+ </div>
94
+ <h3 class="text-xl font-semibold mb-3 group-hover:text-blue-400 transition-colors">Ultra-Fast
95
+ HTML Render</h3>
96
+ <p class="text-sm text-slate-400 leading-relaxed">Direct static HTML rendering using high-speed
97
+ string placeholder replacement, bypassing heavy parsing engines completely.</p>
98
+ </div>
99
+
100
+ <div
101
+ class="group relative p-8 rounded-2xl bg-slate-900/40 border border-white/5 hover:border-blue-500/30 transition-all duration-300 hover:shadow-xl hover:shadow-blue-500/5 hover:-translate-y-1">
102
+ <div
103
+ class="w-12 h-12 bg-indigo-500/10 text-indigo-400 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
104
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
105
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
106
+ d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
107
+ </svg>
108
+ </div>
109
+ <h3 class="text-xl font-semibold mb-3 group-hover:text-indigo-400 transition-colors">In-Memory
110
+ HTML Caching</h3>
111
+ <p class="text-sm text-slate-400 leading-relaxed">Configurable time-to-live caching. Rendered
112
+ pages are stored in RAM for instant, sub-millisecond delivery in production.</p>
113
+ </div>
114
+
115
+ <div
116
+ class="group relative p-8 rounded-2xl bg-slate-900/40 border border-white/5 hover:border-blue-500/30 transition-all duration-300 hover:shadow-xl hover:shadow-blue-500/5 hover:-translate-y-1">
117
+ <div
118
+ class="w-12 h-12 bg-teal-500/10 text-teal-400 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
119
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
120
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
121
+ d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" />
122
+ </svg>
123
+ </div>
124
+ <h3 class="text-xl font-semibold mb-3 group-hover:text-teal-400 transition-colors">JWT & Route
125
+ Security</h3>
126
+ <p class="text-sm text-slate-400 leading-relaxed">Secure cookie management, GCM-encrypted JWT
127
+ tokens, custom helmet configurations, and route rate limiting built-in.</p>
128
+ </div>
129
+ </div>
130
+ </section>
131
+ </main>
132
+
133
+ <footer class="border-t border-white/5 py-8 bg-slate-950 mt-16">
134
+ <div class="max-w-7xl mx-auto px-4 text-center text-sm text-slate-500">
135
+ <p>Powered by Blue Bird Framework. All rights reserved.</p>
136
+ </div>
137
+ </footer>
138
+ <script src="/js/bundle.js"></script>
139
+ </body>
140
+
141
+ </html>