Porting Django's urlpatterns to Node.js