go with Node.JS for my rest APIs projects.
                  
                  
                  Does node have something like RestControllers?
                  
                  
                  For example in Spring a wonderful day thing is the usage of annotations
                  
                  
                  @GetMapping("/hello/{name}") on a method and it is automatically mapped with that URL
                  
                  
                
You mean like this? app.get('hello/:name', handler)
There would usually be a routes files instead of annotations as in spring boot
sprint boot is awesome if you use it correctly but the world is shifting towards nodejs
Обсуждают сегодня