feat: add creator info middleware from MiruroAPI

- Add src/middleware/creatorInfo.js (ESM adapted)
- Injects creator attribution (name, GitHub, Telegram, timestamp) into every JSON response
- Updates server.js to use addCreatorInfo middleware
- Updates CHANGELOG.md, README.md, and docs/architecture.md
This commit is contained in:
Shinei Nouzen
2026-07-04 15:31:59 +05:30
parent 5cf908fb1e
commit 5ca688ab45
5 changed files with 95 additions and 1 deletions
+3
View File
@@ -339,6 +339,9 @@ AniKotoAPI/
│ │ ├── 📄 extractPages.helper.js # 📃 Page fetcher
│ │ └── 📄 formatTitle.helper.js # 🔤 Title formatter
│ │
│ ├── 📂 middleware/ # 🔧 Express middleware
│ │ └── 📄 creatorInfo.js # ✍️ Creator attribution injection
│ │
│ └── 📂 routes/ # 🛤️ Express routes
│ ├── 📄 apiRoutes.js # 🌐 Main API routes (33 endpoints)
│ └── 📄 category.route.js # 🏷️ Category routes