express-server-toolbox
Includes
- DDOS, Spam & Brute force protection
- Proxy server for all request/response types
- Get and Post parameters get sanitized
Example
// NPM Packagesconst expressServerToolkit = ;const express = ;// Setting up the proxy [Host, Port, Enctype, Timeout]const ProxyLocalhost = "localhost" 8080 "http" 3000;// Setting up the DDOS Prevention [MongoDB URI, Max requests per hour]// Keep in mind that the images/post also count as request, so have at least a limit of a few thousand.const DDOSPrevention = "mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb" 5000;// Connects the databaseDDOSPrevention;