NodeJS
nodejs快速入门
和java中虚拟机类比
编写helloworld程序
//相当于java中的 System.out.println("");
console.log("hello world!!!");
运行结果:
编写http入门程序
nodejs是一门服务端语言
nodejs操作数据库
步骤
安装第三方mysql模块
npm install mysql
//相当于java中的 System.out.println("");
console.log("hello world!!!");
运行结果:
npm install mysql