// 建一个server,处理请求,这里要解析query,解析cookie,解析session,处理postData,处理路由,返回结果
//第一步,分析功能(需求)
//第二步,设计路由和数据库
user
register(post)
username, password, realname
login(post)
username, password
blog
list(get)
什么都不传 //返回所有
author(username) //这个人的
detail(get)
id //获取这个id的数据
add(post)
author(username), title, content
del(post)
author(username), id
update(post)
author(username), title, content
//第三步,开敲