Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunzongzheng/player-be
音乐湖 服务端
https://github.com/sunzongzheng/player-be
Last synced: about 2 months ago
JSON representation
音乐湖 服务端
- Host: GitHub
- URL: https://github.com/sunzongzheng/player-be
- Owner: sunzongzheng
- Created: 2018-05-02T13:15:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-12T02:47:31.000Z (over 3 years ago)
- Last Synced: 2023-03-05T15:09:16.713Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 127 KB
- Stars: 93
- Watchers: 2
- Forks: 40
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# player-be [![Build Status](https://travis-ci.org/sunzongzheng/player-be.svg?branch=master)](https://travis-ci.org/sunzongzheng/player-be)
用以支撑音乐湖云歌单## 环境要求
- mysql >= 5.7.8
- redis## 开发
1. `cp config/default.js config/local.js`
2. 修改config/local.js相应配置
2. `npm install`
3. `npm run start`## 部署
1. `cp config/default.js config/local.js`
2. 修改`config/local.js`相应配置
3. 以下三种方式任选一
````bash
docker-compose up -d # Docker Compose(Recommended)
pm2 start pm2.production.json # PM2, daemon run
npm run start # Just run it
````## FAQ
1. 问:怎么实现登录答:需要去对应的平台注册应用并配置,如QQ登录就需要去QQ互联创建应用,微博就去微博开放平台,
github在setting -> Developer settings -> New Github App注册。QQ、微博创建应用都要域名备案,github不用。
创建完应用记得修改配置文件关联项目:
- [sunzongzheng/music](https://github.com/sunzongzheng/music)
- [caiyonglong/MusicLake](https://github.com/caiyonglong/MusicLake)