Zipfile 由一个 AngularApp 文件夹和一个 Nodejs 文件夹组成。
2 回答
0
转到 AngularApp 文件夹并ng serve在命令提示符或 shell 中执行命令,然后转到 NodeJs 文件夹node index.js在单独的命令提示符或 shell 中执行。
于 2019-07-06T00:46:24.720 回答
0
确保您的 mongoDB 已启动并正在运行。
现在转到/Node.js目录并运行
npm i // install the dependencies
node index.js // run server
这将使您的节点服务器在端口 3000 上运行
转到/AngularApp目录
npm i // install the depencies
ng serve // run application
现在您的整个应用程序应该已启动并运行。要在浏览器中打开您的应用程序,
于 2019-07-06T04:36:12.410 回答