40 Commits

Author SHA1 Message Date
0dac1a5505 build: optimize Docker image with multi-stage build and security improvements
- Implement multi-stage build to reduce final image size
- Install only production dependencies with npm ci --only=production
- Clean npm cache to reduce image size
- Improve layer caching by copying package files before application code
- Update package version from 1.0.0 to 1.0.1
2025-10-09 10:11:38 +02:00
271eb107a2 feat: add OpenAPI documentation and comprehensive test suite
- Add OpenAPI schema endpoint at /openapi.json with proper logging
- Make server exportable for testing by wrapping app.listen in module check
- Add Jest test suite covering all API endpoints
- Improve request logging with IP addresses and timestamps
- Add development dependencies for testing (jest, supertest)
2025-09-02 12:26:30 +02:00
69c216a0d0 chore: add node_modules to .gitignore 2025-09-02 12:23:36 +02:00
3a4f58621a doc: add openapi.json 2025-09-02 10:31:59 +02:00
a63cf97638 chore: secure deploy 2025-09-02 10:30:08 +02:00
6f452a2c93 🟢 deploy/netpol.yaml
🛠️ README.md -> updated local mods
🛠️ deploy/kustomization.yaml -> added netpol
2025-05-02 17:07:46 +02:00
1f3f6a35e4 🛠️ deploy.yaml -> Security updates
added restrictions
2025-05-02 16:53:48 +02:00
2c03527d00 add doc 2025-05-02 16:48:27 +02:00
48ef406428 🛠️ index.js -> updated endpoint path 2025-05-02 16:45:08 +02:00
ad43004e46 🛠️ Dockerfile -> Node version updated 2025-05-02 16:44:58 +02:00
c6d693dc3a 🛠️ README.md -> Added fork info 2025-05-02 16:44:46 +02:00
ec67d8283f chore: add Dockerfile 2025-05-02 16:29:42 +02:00
0956a0ec73 fix: add /health route 2025-05-02 16:29:32 +02:00
Salman Qureshi
7cfa9d2f01 Update README.md 2025-05-01 21:20:27 +05:30
Salman Qureshi
c838164839 updated readme 2025-05-01 21:15:20 +05:30
Salman Qureshi
fb784b6da8 updated readme 2025-05-01 21:14:29 +05:30
Salman Qureshi
d6c5717d47 updated readme 2025-05-01 21:12:49 +05:30
Salman Qureshi
15e33f6d8e no-logo-naas 2025-05-01 21:09:55 +05:30
Salman Qureshi
afe3e16bc1 Update README.md 2025-05-01 20:34:09 +05:30
Salman Qureshi
18a66f6068 added 1000+ better no reasons 2025-05-01 16:59:49 +05:30
Salman Qureshi
2387884993 docs: updated rate limit logic to allow 120 req/min per IP using CF-Connecting-IP behind Cloudflare, fallback compatable #8 2025-05-01 16:30:06 +05:30
Salman Qureshi
6f72cd77f8 feat(rate-limiting): trust CF-Connecting-IP behind Cloudflare and increase limit to 120 req/min/IP 2025-05-01 16:27:19 +05:30
Salman Qureshi
08759b2f3f removed limitting api calls 2025-04-30 21:02:14 +05:30
Salman Qureshi
555613fcce Merge pull request #1 from hotheadhacker/imgbot
[ImgBot] Optimize images
2025-04-30 02:48:04 +05:30
Salman Qureshi
17bb9db096 added live api url 2025-04-30 02:39:07 +05:30
ImgBotApp
74e63e4918 [ImgBot] Optimize images
*Total -- 386.68kb -> 214.44kb (44.54%)

/assets/imgs/image.png -- 322.84kb -> 154.92kb (52.01%)
/assets/imgs/naas.jpg -- 63.84kb -> 59.52kb (6.76%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2025-04-29 21:01:50 +00:00
Salman Qureshi
76c54eeb36 added minified hero 2025-04-30 02:30:54 +05:30
Salman Qureshi
43a46a401d center hero 2025-04-30 02:29:13 +05:30
Salman Qureshi
3f9567c1f2 added hero img 2025-04-30 02:26:55 +05:30
Salman Qureshi
c4f3fcb509 Rename index.json to index.js 2025-04-30 02:23:26 +05:30
Salman Qureshi
5ae709efcb Update README.md 2025-04-30 02:21:48 +05:30
Salman Qureshi
e7e1d828e2 Update README.md 2025-04-30 02:21:17 +05:30
Salman Qureshi
cd0e5a2393 Update README.md 2025-04-30 02:05:44 +05:30
Salman Qureshi
d7b9deca18 Update README.md 2025-04-30 01:59:40 +05:30
Salman Qureshi
0a9a61c376 Create package.json 2025-04-30 01:53:40 +05:30
Salman Qureshi
d97fbfd971 Create index.json 2025-04-30 01:51:14 +05:30
Salman Qureshi
0e7453b571 Rename no.db to reasons.json 2025-04-30 01:50:11 +05:30
Salman Qureshi
8151412248 Create no.db 2025-04-30 01:47:19 +05:30
Salman Qureshi
0a05ccd404 Update README.md 2025-04-30 01:30:39 +05:30
Salman Qureshi
0013167276 Initial commit 2025-04-30 01:26:36 +05:30