当前位置:网站首页>&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 来结束本次运行
边栏推荐
- 【VTK】MFC基于VTK8.2的网格编辑器
- The former security director of Uber faced fraud allegations and concealed the data leakage event
- 地平线开发板配置网段
- QT learning 08 set sail! First application instance
- 【HBZ分享】Semaphore 与 CountDownLatch原理
- 记一次 MSI 笔记本 GE63 播放网页视频 闪屏和随机发绿 问题解决
- Windwos10安装sshd服务
- AOSP ~ 初始化语言
- [NLP] text generation topic 1: basic knowledge
- Return value‘s Lifetime
猜你喜欢

Evaluation of IP location query interface Ⅱ

Meichuang was selected as one of the first member units of the "business security promotion plan" of the ICT Institute

Adding sharding sphere5.0.0 sub tables to the ruoyi framework (adding custom sub table policies through SPI)

Qt学习01 GUI程序原理分析

年轻就要醒着拼,年轻就要勇于尝试

镜像漏洞扫描工具:Trivy

杰理之关于 TWS 配对方式配置【篇】
![[NLP] text generation topic 1: basic knowledge](/img/cf/2e29e55344ea4cc8ce48777878b867.png)
[NLP] text generation topic 1: basic knowledge

Micro blog comment architecture design

自动化测试摸索之路---准备工作
随机推荐
Qt学习02 GUI程序实例分析
QT learning 11 string classes in QT
Information technology application and innovation professionals (database) intermediate training hot enrollment (July 6-10)
杰理之关于 TWS 配对方式配置【篇】
Qt学习05 Qt Creator工程介绍
Self-Improvement! Junior college "counter attack" master of Zhejiang University, 3 SCI, and finally become a doctor of Tsinghua University!
Discussion on QT learning 10 message processing in QT
海泰前沿技术|隐私计算技术在医疗数据保护中的应用
MySQL enable slow query
Oracle NetSuite 助力 TCM Bio,洞悉数据变化,让业务发展更灵活
QT learning 16 parent-child relationships between QT objects
新版CorelDRAW Technical Suite2022最新详细功能介绍
如何通过WinDbg获取方法参数值
Unity learning notes --vector3 how to set default parameters
自动化测试摸索之路---准备工作
检查YAML文件安全配置:kubesec
Numpy's ndarray array Foundation
如何在Rocky Linux和AlmaLinux上安装MySQL 8.0
Qt学习06 窗口部件及窗口类型
mysql 1146错误[通俗易懂]