Node.js is a runtime environment. It can be used in both FE and BE parts of your applications.