Giter VIP home page Giter VIP logo

music-player's Introduction

音乐播放器

运行环境

安装 pnpm

npm i -g pnpm

配置七牛云 [可选]

音乐列表页面会调用七牛云接口,需要提供七牛云相关配置:server/midway/.env.backup,记得把 .env.backup 重命名为 .env

运行项目

同时启动客户端和服务器

# 第一步,安装所有依赖
pnpm install

# 第二步,同时启动客户端与服务器
npm run dev

客户端地址:

服务器地址:

功能概览

客户端

  • 音乐播放(上一曲/下一曲/暂停/播放/播放模式/音量/快进)
  • 音乐列表(本地/在线模式切换)
  • 音乐展示(列表/卡片两种形式)
  • 主题切换(绿/橙)

服务器

  • 获取音乐列表
  • 上传音乐

技术栈

客户端

基于 Vue.js 3.x 版本来开发:vue3 分支

基于 Vue.js 3.x + TSX 来开发:main 分支

基于 React 18.x 版本来开发:react 分支

服务端

基于 Node.js 框架 Midwayjs 来构建服务

项目部署

客户端部署在 Github

服务器部署在 Render

图片、音频存储在 七牛云

后续计划

  • Monorepo(支持更多客户端/服务器共存)
  • 加入 前端框架
  • 加入 Node.js 框架
    • Midway.js
    • NestJS

music-player's People

Contributors

savoygu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.