当前位置:网站首页>&4 express框架
&4 express框架
2022-06-29 11:09:00 【sanda_nd】
express框架 是基于Node.js平台的 Web 应用开发框架
1、执行此框架,首先要安装Node.js
Node.js (nodejs.org),直接点击第一个按钮,安装就可以。
2、打开 vscode 软件的终端,输入命令 npm i express;等待安装完毕


3、express 框架 的基本格式

注意:
1、第四步骤中的 8000 为端口号,可以更改
2、http://127.0.0.1 为自己的服务器地址,仅供测试时使用;更改端口号时,在后面:端口号就可以访问
4、如何执行 ?
此部分需要 Node.js 的相关知识,这里简单叙述以下

1、输入 node 空格 文件名,再回车执行
2、执行后显示的网址,可以通过 ctrl+左键 点击进入
3、ctrl+c 来结束本次运行
边栏推荐
- Numpy的ndarray数组基础
- Object class - the father of ten thousand classes
- Qt学习11 Qt 中的字符串类
- PyTorch学习之归一化层(BatchNorm、LayerNorm、InstanceNorm、GroupNorm)[通俗易懂]
- Introduction to software engineering - Chapter 5 - overall design
- 分布式缓存之Memcached
- Exclusive interview with head of suss NIFT: the future of Web3 is inseparable from the governance of "everyone for me, I for everyone"
- 杰理之关于 TWS 配对方式配置【篇】
- 自动化测试摸索之路---准备工作
- Haitai Advanced Technology | application of privacy computing technology in medical data protection
猜你喜欢

win11网页版

MMdet的Resnet卷积替换成Ghost卷积组所出现的问题
![[VTK] MFC grid editor based on vtk8.2](/img/c5/d0f070ccb819fc682855319b7415e0.png)
[VTK] MFC grid editor based on vtk8.2

【VTK】MFC基于VTK8.2的网格编辑器

QT learning 16 parent-child relationships between QT objects

Qt学习05 Qt Creator工程介绍

稳定币风险状况:USDT 和 USDC 安全吗?

Introduction to software engineering - Chapter 5 - overall design

跟着官方学电机,BLDC两种控制策略,学到即赚到

Babbitt | yuancosmos daily must read: HTC announced the launch of the first yuancosmos mobile phone, which costs about 2700 yuan. What are the new ways to play
随机推荐
跟着官方学电机,BLDC两种控制策略,学到即赚到
Windwos10安装sshd服务
Object 类——万类之父
mysql 1146错误[通俗易懂]
保障饮用水安全!番禺沙湾水道水质在线监测系统通过验收
毕业5年,我问遍了身边的大佬,总结了他们的学习方法
Deep understanding of volatile keyword
Exclusive interview with head of suss NIFT: the future of Web3 is inseparable from the governance of "everyone for me, I for everyone"
[pbootcms模板]作文网站/文档下载网站源码
普通用户使用vscode登录ssh编辑root文件
开源机器学习平台
海泰前沿技术|隐私计算技术在医疗数据保护中的应用
信息技术应用创新专业人员(数据库)中级培训火热招生中(7月6-10日)
【文献翻译】Concealed Object Detection(伪装目标检测)
Numpy的ndarray数组基础
[HBZ sharing] InnoDB principle of MySQL
【HBZ分享】AQS + CAS +LockSupport 实现ReentrantLock的原理
龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书
稳定币风险状况:USDT 和 USDC 安全吗?
地平线开发板配置网段