Node.js codes and practice