Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lincenying/mmf-blog-api-koa2-v2
MMF小屋 接口koa2版
https://github.com/lincenying/mmf-blog-api-koa2-v2
api koa2 mmf-blog mongodb mongoose
Last synced: about 2 months ago
JSON representation
MMF小屋 接口koa2版
- Host: GitHub
- URL: https://github.com/lincenying/mmf-blog-api-koa2-v2
- Owner: lincenying
- Created: 2017-01-02T06:31:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T09:01:06.000Z (over 3 years ago)
- Last Synced: 2023-03-11T04:03:26.844Z (almost 2 years ago)
- Topics: api, koa2, mmf-blog, mongodb, mongoose
- Language: JavaScript
- Homepage:
- Size: 632 KB
- Stars: 9
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mmf-blog-api-koa-v2
在 server/config 文件夹下 创建 mpapp.js 文件
里面写入: (小程序登录用的)
```javascript
exports.apiId = ''
exports.secret = ''
```在 server/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
npm run serve
```Add admin
http://localhost:4000/api/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