Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lincenying/mmf-blog-api-v2
MMF小屋 接口express版
https://github.com/lincenying/mmf-blog-api-v2
api express mmf-blog mongodb mongoose
Last synced: about 2 months ago
JSON representation
MMF小屋 接口express版
- Host: GitHub
- URL: https://github.com/lincenying/mmf-blog-api-v2
- Owner: lincenying
- Created: 2016-12-24T17:17:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-24T16:53:04.000Z (over 1 year ago)
- Last Synced: 2024-11-04T17:47:22.304Z (about 2 months ago)
- Topics: api, express, mmf-blog, mongodb, mongoose
- Language: JavaScript
- Homepage: http://vue2.mmxiaowu.com
- Size: 14.3 MB
- Stars: 12
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mmf-blog-api-v2
在 src/config 文件夹下 创建 mpapp.js 文件
里面写入: (小程序登录用的)
```javascript
exports.apiId = ''
exports.secret = ''
```在 src/config 文件夹下 创建 shihua.js 文件
里面写入: (百度识花用的)
接口申请地址: http://ai.baidu.com/tech/imagerecognition
```javascript
exports.APP_ID = ''
exports.API_KEY = ''
exports.SECRET_KEY = ''
```install nodejs, MongoDB, And start the
```bash
# Install dependencies
yarn# or
npm install# Start the API server
yarn serve
```Add admin
http://localhost:4000/backendAfter the success of the administrator to add, will automatically generate the admin. Lock file locking, if you need to continue to add, please just delete the file