摘要: 恢复内容开始 MongoDB 分布式文档存储数据库 1.简介 MonGoDB是为快速开发互联网web应用设计的数据库系统 MongoDB的设计目标是简洁、灵活、作为Web应用栈的一部分 MongoDB的数据模型是面向文档的,类似于JSON的结构 2.基本指令 show dbs or show dat 阅读全文
posted @ 2021-02-19 22:19 abcdefgab 阅读(55) 评论(0) 推荐(0)
摘要: 1.静态资源访问,需要设置路由和响应标头 2.url模块、path模块、querystring模块 Url { protocol: null, slashes: null, auth: null, host: null, port: null, hostname: null, hash: null, 阅读全文
posted @ 2021-02-19 14:35 abcdefgab 阅读(42) 评论(0) 推荐(0)
摘要: M:模型 public class Student { private String rollNo; private String name; public String getRollNo() { return rollNo; } public void setRollNo(String roll 阅读全文
posted @ 2021-02-19 10:45 abcdefgab 阅读(114) 评论(0) 推荐(0)
摘要: var express = require("express") var path = require("path") var app = express() app.use(function (req, res, next) { console.log("中间件1执行") next() }) // 阅读全文
posted @ 2021-02-19 09:40 abcdefgab 阅读(124) 评论(0) 推荐(0)