News for hackers. Stuff that matters.
Re:Show HN: Routerless by amingilani on Monday July 10, 2017 @02:27PM (#14738429)
Can someone please ELI5 what I'm supposed to be seeing? I just opened this page and saw a bunch of buzzwords. What is this? What is this for? Why is it hosted on an IP address?
Re:Show HN: Routerless by tyingq on Monday July 10, 2017 @02:47PM (#14738583)
It appears to be a uri route handling library for node.js

Why the word "routerless" is in the title is a mystery to me.

Re:Show HN: Routerless by madmaniak on Monday July 10, 2017 @05:04PM (#14739648)
It's a joke from stupid buzzwords - kind of "serverless". You don't define routes with pro-router - you just use a store which serializes to url.
Re:Show HN: Routerless by fredley on Monday July 10, 2017 @02:34PM (#14738490)
Why is it running on port 3000?
Re:Show HN: Routerless by safeharbourio on Monday July 10, 2017 @03:25PM (#14738878)
op couldnt be bothered to reverse proxy it behind nginx/{other load balancer}.
Re:Show HN: Routerless by 43224gg252 on Monday July 10, 2017 @04:14PM (#14739240)
or just redirect port 80 traffic to 3000 with iptables, it's one command.

sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000

Re:Show HN: Routerless by madmaniak on Monday July 10, 2017 @05:07PM (#14739681)
Thank you for all advices. I'll host it properly. But what do you think about the library?
Re:Show HN: Routerless by amingilani on Tuesday July 11, 2017 @11:37AM (#14745043)
It took me a while from reading all the comments to realize that it's a client side library that stores state in the URL.

It's nice but I'm still not sure when to use it and why you made it.

Maybe you could add your personal use and motivation to it? Otherwise it's a clever library.

Re:Show HN: Routerless by madmaniak on Friday July 21, 2017 @10:20AM (#14820721)
I just disagree with declaring paths with kind of regex pattern matching set of rules. This approach is flexible and natural. It will not stop you when your application became complex and even with simple cases it's faster - you touch less places in your code to make a change.