blog-node

基于 node + express + mongodb 的博客网站后台

MIT License

Stars
549

blog-node

https://biaochenxuying.cn

node + express + mongodb blog-node

  • github

  • node
  • cookie-parser : "~1.4.3"
  • crypto : "^1.0.1"
  • express: "~4.16.0"
  • express-session : "^1.15.6",
  • http-errors : "~1.6.2",
  • mongodb : "^3.1.8",
  • mongoose : "^5.3.7",
  • mongoose-auto-increment : "^5.0.1",
  • yargs : "^12.0.2"

  • => 1: 2: 3:
  • like_users id
  • other_comments
  • => 0 / 1 / -1 / -2
  • -1 -2

Build Setup ( )

# install dependencies
npm install

# serve with hot reload at localhost: 3000
npm start

# build for production with minification
 pm2  node 


admin/user mongodb user

postman

url

    1. url
http://127.0.0.1:3000/register
    1. param
{
 "name": "BiaoChenXuYing",
 "password": "888888",
 "email": "[email protected]",
 "phone": 1380013800,
 "type": 0,
 "introduce":"!!!  BiaoChenXuYing  WEB "
}

type 0 1


: https://github.com/biaochenxuying/blog-react

: https://github.com/biaochenxuying/blog-vue-typescript

https://github.com/biaochenxuying/blog-react-admin

https://github.com/biaochenxuying/blog-node

bloghttps://github.com/biaochenxuying/blog


Linux

...

1 89/229/3

https://biaochenxuying.cn/

https://www.kwgg2020.com/