![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Node
文章平均质量分 61
fighting Ably!
这个作者很懒,什么都没留下…
展开
-
Express框架搭建项目
EXpress: 精简的、灵活的Node.js Web程序框架,为构建单页、多页及混合的Web程序提供了一系列健壮的功能特性。原创 2024-01-15 14:55:57 · 2080 阅读 · 0 评论 -
Nodejs——学习-基础示例 http
nodejs中文文档1. 基础篇示例新建index.js文件// 引入http包const http = require('http');// 设置hostconst hostname = '127.0.0.1';// 设置端口号const port = 8888;// 创建服务器const server = http.createServer((req,res)=>{ // 设置响应状态码 res.statusCode = 200; // 设置响应头 re原创 2021-04-30 16:27:51 · 124 阅读 · 1 评论