Skip to content

feat: Add Express.js server with Helmet.js security headers#20

Merged
AlAfiz merged 2 commits intoBETAIL-BOYS:mainfrom
akordavid373:feat/add-helmet-security-headers
Feb 23, 2026
Merged

feat: Add Express.js server with Helmet.js security headers#20
AlAfiz merged 2 commits intoBETAIL-BOYS:mainfrom
akordavid373:feat/add-helmet-security-headers

Conversation

@akordavid373
Copy link
Contributor

  • Create Express.js server for TradeFlow-Core API
  • Add Helmet.js middleware for security headers (XSS, CSP, HSTS, etc.)
  • Include CORS support and JSON parsing
  • Add health check and contract information endpoints
  • Update .gitignore for Node.js dependencies
  • Create comprehensive server documentation

Fixes #15: Add Helmet.js to secure Express HTTP headers

- Create Express.js server for TradeFlow-Core API
- Add Helmet.js middleware for security headers (XSS, CSP, HSTS, etc.)
- Include CORS support and JSON parsing
- Add health check and contract information endpoints
- Update .gitignore for Node.js dependencies
- Create comprehensive server documentation

Fixes BETAIL-BOYS#15: Add Helmet.js to secure Express HTTP headers
- Fix Vec type usage in verify_signature function
- Add missing Val import
- Correct method calls for to_val() and push_back()
- Resolve trait bound issues with Address and Val types

This fixes the compilation errors in the invoice_nft contract that were preventing the WASM build from succeeding.
@AlAfiz AlAfiz merged commit e50dd9e into BETAIL-BOYS:main Feb 23, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security: Add Helmet.js to secure Express HTTP headers

2 participants