Skip to content
项目

关于

一个使用 React、Express 和 Spotify API 构建的 Web 应用,用于可视化个性化 Spotify 数据。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Spotify Profile

A web app for visualizing personalized Spotify data

Built with a bunch of things, but to name a few:

Setup

  1. Register a Spotify App and add http://localhost:8888/callback as a Redirect URI in the app settings
  2. Create an .env file in the root of the project based on .env.example
  3. nvm use
  4. yarn && yarn client:install
  5. yarn dev

Deploying to Heroku

  1. Create new heroku app

    heroku create app-name
    
  2. Set Heroku environment variables

    heroku config:set CLIENT_ID=XXXXX
    heroku config:set CLIENT_SECRET=XXXXX
    heroku config:set REDIRECT_URI=https://app-name.herokuapp.com/callback
    heroku config:set FRONTEND_URI=https://app-name.herokuapp.com
    
  3. Push to Heroku

    git push heroku master
    
  4. Add http://app-name.herokuapp.com/callback as a Redirect URI in the spotify application settings

  5. Once the app is live on Heroku, hitting http://app-name.herokuapp.com/login should be the same as hitting http://localhost:8888/login

探索相关项目

加载中…