this is a example of a web server in express, protecting a route with jsonwebtoken package...
For protect other route for some curious people, you can appply rateLimit package... Example of that, think in execute a for loop from 1 to 10 millions for a lot of devices...