I have a list of users:
<link>user1<link>
<link>user2<link>
<link>user3<link>
.
.
etc.
When I click on those links, the URL changes, for example: miAplicacion/user1
, miAplicacion/user2
... etcetera.
On my server I already have the GET static for the users:
app.get('/user1', function(req, res, next) {
app.get('/user2', function(req, res, next) {
app.get('/user3', function(req, res, next) {
How to make it dynamic, instead of static?
although I do not need precisely in nodejs, because I believe that this form is the same in several languages.