Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
Rutas recursivas de NodeJS Express

Las API de algunos sitios web le permiten hacer algo como esto:

 Initial user's id their first friend, also a user vv GET /api/users/54282/friends/0/friends/0 ^ first item in array, would also be a user

Más bien que

 Initial user's id v GET /api/users/54282/friends Look at friends[0].id to get the first friend's id First friend's id v GET /api/users/97420/friends Look at friends[0].id to get the first friend's id First friend's id v GET /api/users/31230

Otro ejemplo aunque no estoy seguro si Github permite esto

 Get the 10th collaborator's repos GET /api/users/sharedrory/repos/312388/collaborators/10/repos

¿Cómo implementarías algo como esto en express?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Parece que el término que quería era "anidado"/"anidado"

Resto con el enrutador anidado Express.js https://gist.github.com/zcaceres/f38b208a492e4dcd45f487638eff716c

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!