api接口源码
node中文网:http://nodejs.cn/ express中文网:https://www.expressjs.com.cn/ mongodb中文网:https://www.mongodb.org.cn/使用 Node + express框架 + Mongodb 开发
具体使用查看官网,这里只讲怎么启动项目
使用前准备 了解Node,搭建了Node环境 了解express框架,全局安装express框架 确保已经成功安装mongodb 启动项目一、下载项目
git clonegit@github.com:sun0207/api-blog-master.git
直接download
二、进入项目,下载包
命令行: npm install
三、启动项目
命令行:npm start
或 yarn start
├── bin
│ └── www # 启动文件
├── core # 连接数据库
├── models # 数据库模型
├── public # 资源
│ └── css
│ └── js
│ └── img
│ └── favicon.png
├── routes # 接口
├── utils # 工具库
├── views #渲染
├── README.md
└── package.json
源码地址与文档教程
源码地址:
前端展示: https://github.com/sun0207/blog-master
管理后台: https://github.com/sun0207/admin-blog-master
后端api: https://github.com/sun0207/api-blog-master
线上地址:
前端展示: https://www.qianyaru.cn
管理后台: http://admin.qianyaru.cn
后端api: http://api.qianyaru.cn
最后如果你觉得不错,欢迎 star 一下,特别感谢!
有问题可以扫下方二维码 添加我的微信 或 关注我的公众号,
关注公众号并回复 1024 获取项目源码和更多资源。
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。