Does Node have a framework for building servers like spring?

1. Goal: to build a Web server using Node. Write interfaces that can be called by the front end.
2. Question: suffering from not knowing what framework to use? The node http minimalist service written by yourself will certainly not be able to meet the development needs of enterprises. Individuals are not optimistic about the form of ejs,jade template development in express, which is no different from the traditional java web template and php web template, so what"s the point of advocating front-end separation? I wrote demo, myself. I really care about one thing at the expense of the other. I can"t do both. I would like to ask node whether there is a framework for developing web servers or something like that?

Mar.29,2021

express does not require you to use templates, you can let express just output data.

for other frameworks, take a look at koa , although it was also written by the express development team.

clipboard.png

add a little bit to him: this is a nice smiley face.
simply take a look at express development and write rest api directly in express. It's super simple. If you are not familiar with the web template provided by express, you don't need it. You can get a familiar front-end framework. After writing the web end, you can put the build, directly under the public folder. Localhost:3000 can access web directly.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e52333-43e4c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e52333-43e4c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?