当前位置:网站首页>Express framework installation and start service
Express framework installation and start service
2022-06-23 01:30:00 【hacalili】
One 、 install :
First of all to node.js Download... On the official website node
Enter the following command to check whether the installation is successful
npm -vIf the version number is displayed, the installation is successful

npm init --yes
npm i express
Two 、 establish express_test.js file
// introduce
const { request } = require('express');
// Create application objects
const express = require('express');
// Create application objects
const app = express();
// Create routing rules
app.get('/',(request,response) => {
response.send('hello express~');
});
// Listening port starts service
app.listen(8000,() => {
console.log(" Service started ,8000 Port monitoring ...");
})3、 ... and 、cmd Start service in window
node express_test.js

边栏推荐
- [launch] redis Series 2: data persistence to improve availability
- Local deployment and problem solving of IIS in ArcGIS JS 4.23
- Binary String
- 62. different paths
- SAP ui5 application development tutorial 102 - detailed trial version of print function implementation of SAP ui5 application
- cadence SPB17.4 - allegro - 優化指定單條電氣線折線連接角度 - 折線轉圓弧
- Xiaobai operates win10 to expand Disk C (allocate disk D memory to Disk C) and the test is valid for many times
- Day260: the number III that appears only once
- LeetCode 206. 反转链表(迭代+递归)
- New progress in the construction of meituan's Flink based real-time data warehouse platform
猜你喜欢

07 project cost management

B tree and b+ tree

Sélecteur de hiérarchie

Ros2 summer school 2022 transfer-

SQL programming task05 job -sql advanced processing

Debian10 configuring rsyslog+loganalyzer log server

LeetCode 206. 反转链表(迭代+递归)
![[launch] redis Series 2: data persistence to improve availability](/img/f4/5bc7ca3e17c6656e71df515182842e.png)
[launch] redis Series 2: data persistence to improve availability

層次選擇器

A hundred lines of code to realize reliable delay queue based on redis
随机推荐
Installation record of ros1noetic in Win 11
Extend your kubernetes API using the aggregation API
Template specialization template <>
It's still like this
Data skew analysis of redis slice cluster
SFOD:无源域适配升级优化,让检测模型更容易适应新数据
You can also do NLP (classification)
Autumn move script C
You can also do NLP (classification)
B tree and b+ tree
Time complexity
Hierarchy selector
[UVM] don't say that your VIP can't use ral model
使用aggregation API扩展你的kubernetes API
Similar to attention NLP
C# SerializableDictionary序列化/反序列化
Pat a - 1010 radical (thinking + two points)
Read Amazon memorydb database based on redis
Vector 2 (friend and copy construction)
62. different paths