Node.js:通过打字稿编写koa2的示例。 推荐VSCode

时间:2021-02-03 17:40:03
【文件属性】:
文件名称:Node.js:通过打字稿编写koa2的示例。 推荐VSCode
文件大小:18KB
文件格式:ZIP
更新时间:2021-02-03 17:40:03
nodejs javascript bash docker koa 使用打字稿构建Koa2项目并在nodejs上运行。 如果您有任何疑问,欢迎发送电子邮件至如果能提供帮助,我将非常高兴。 入门 软件先决条件 安装nodejs(v6.9或更高版本)检查其版本: node -v npm -v 安装打字稿: sudo npm install typescript -g 检查版本并查看其是否正确安装(要求v2.1及更高版本) tsc -v 请参阅 安装Postgresql数据库 获取资源 将代码克隆到本地 git clone https://github.com/JackieGe/nodejs.git 根据“ package.json”安装软件包
【文件预览】:
Nodejs-master
----Dockerfile(727B)
----.gitignore(116B)
----drag-events.html(4KB)
----tsconfig.json(184B)
----README.md(1KB)
----dev-scripts()
--------setup-swagger.sh(269B)
--------start-local-webserv.sh(209B)
----build-scripts()
--------build-webserv-image.sh(108B)
--------start-webserv-container-linked.sh(256B)
--------start-webserv-container.sh(305B)
----test()
--------test.ts(415B)
--------api_old_.ts(916B)
--------func.ts(205B)
----public()
--------swagger.json(2KB)
----.vscode()
--------launch.json(1002B)
--------settings.json(695B)
----database()
--------Dockerfile(97B)
--------dev-scripts()
--------build-scripts()
--------src()
----.dockerignore(90B)
----Manual()
--------README.md(2KB)
----package.json(1KB)
----src()
--------dal()
--------routers()
--------api.ts(225B)
--------app.ts(513B)
--------controllers()
----index.ts(243B)
----h5-clock.html(3KB)

网友评论