• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
LilyLiya
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 8 9 10 11 下一页
2021年2月3日
Creating Servers with Express
摘要: Request & Response Objects; Express Routing Basics; Express Path Parameters; Working With Query Strings; Auto-Restart With Nodemon 阅读全文
posted @ 2021-02-03 08:05 LilyLiya 阅读(76) 评论(0) 推荐(0)
configuring express for ejs
摘要: app.set('view engine', 'ejs'); res.render('home.ejs') ; setting the views directory; const path = require('path'); app.set('views', path.join(__dirname, '/views')) //__dirname is where index.js is located 阅读全文
posted @ 2021-02-03 08:03 LilyLiya 阅读(69) 评论(0) 推荐(0)
2021年2月1日
node-group-chat exercise
摘要: npm install 阅读全文
posted @ 2021-02-01 06:34 LilyLiya 阅读(62) 评论(0) 推荐(0)
The NPM(Node Package Manager) Universe
摘要: npm i colors; npm i -g cowboy; npm init; npm install; npm link cowsay(adding global package: cowsay) 阅读全文
posted @ 2021-02-01 06:26 LilyLiya 阅读(58) 评论(0) 推荐(0)
2021年1月31日
Exploring Modules
摘要: module.exports; Requiring a directory 阅读全文
posted @ 2021-01-31 04:24 LilyLiya 阅读(48) 评论(0) 推荐(0)
2021年1月30日
Node js Intro
摘要: node xx.js; process.argv; Use file system to creat folder and files; const fs = require('fs'); mkdirSync; writeFileSync 阅读全文
posted @ 2021-01-30 01:48 LilyLiya 阅读(106) 评论(0) 推荐(0)
2021年1月29日
Commonly used terminal commands
摘要: ls, pwd, cd, ~, /, mkdir, touch, rm, rmdir, rm, -rf, man. 阅读全文
posted @ 2021-01-29 12:47 LilyLiya 阅读(53) 评论(0) 推荐(0)
2021年1月28日
选最合适的公寓——距离学校,超市,健身房的最大距离最小
摘要: Arrays.Apartment Hunting.Hard; min-max距离问题;二元数组; 阅读全文
posted @ 2021-01-28 03:19 LilyLiya 阅读(80) 评论(0) 推荐(0)
2021年1月27日
TVMAZE API应用:查找电影图片
摘要: form.elements.query.value; createElement('IMG'); await axios.get(`http://api.tvmaze.com/search/shows`, config); 阅读全文
posted @ 2021-01-27 12:25 LilyLiya 阅读(346) 评论(0) 推荐(0)
axios.get应用,使用dad-joke API生成随机笑话
摘要: 按钮点击事件(addEventListener);async; await; axios.get; document.createElement('LI'); 阅读全文
posted @ 2021-01-27 11:39 LilyLiya 阅读(266) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 11 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3