codecontinent / mxjs

Mx.js - Lightweight Node.js based (type-safe) back-end framework
MIT License
2 stars 0 forks source link

🔨 @mx/core v0.1.0 -- development #1

Open mahabubx7 opened 1 month ago

mahabubx7 commented 1 month ago

🔨 core modules and necessary functionalities

🕐 : means still in development and improving... ✅ : means ready for release or completed targets ⏸ : means it is now in backlog or paused

Checklist for implementations and development tasks:

Following express.js (v5) core to make this almost equivalent

Todo list for addition or implementation or custom module in core itself

  • [ ] core content-disposition for request
  • [ ] core content-type => improve by following it
  • [ ] core cookie => custom
  • [ ] core cookie-signature => custom
  • [ ] core debug => custom | use-it
  • [ ] core depd => review-n-decide
  • [ ] core etag => use it directly
  • [ ] core mime-types => review-n-decide or custom
  • [ ] core encodeurl => review-n-decide
  • [ ] core escape-html => custom (copy-paste-like)
  • [ ] core fresh => custom (refactor + copy-paste)
  • [ ] core methods => update our existing one from this
  • [ ] core mime-types => update our existing one from this
  • [ ] core proxy-addr => use-it-directly
  • [ ] core qs => use-it-directly
  • [ ] core range-parser => custom
  • [ ] core safe-buffer => custom (copy-paste-like)
  • [ ] core send => review & update Reply class
  • [ ] core serve-static => custom (by reviewing it)
  • [ ] core statuses => update our constants
  • [ ] core type-is => review n decide

Tests

Implement unit tests with at least 90%+ to 100% coverage fulfillment using vitest instead of jest

Now start cooking this 😩 ~/@mahabubx7

mahabubx7 commented 1 month ago

[Update] 2024-10-10

Refactored core gateway, route and router module (new) Also, updated with latest benchmarks (including screenshot for details) ~/@mahabubx7