项目作者: paulshen

项目描述 :
Shared listening of Spotify albums
高级语言: Reason
项目地址: git://github.com/paulshen/listening-bar.git
创建时间: 2020-03-23T05:44:45Z
项目社区:https://github.com/paulshen/listening-bar

开源协议:

下载


Listening Bar

https://listening.bar

A ReasonML/BuckleScript webapp for listening to Spotify albums together.

Installation

  1. yarn
  2. (cd server && yarn)
  3. cp .env.sample .env

Replace contents of .env with your values.

Database

Listening Bar uses Postgres. Use database.sql to create the necessary tables.

You may want to edit isomorphic/Constants.re but it should work as-is in dev
mode.

Run

Client

  1. # Build BuckleScript
  2. yarn build
  3. # Serve dev client on localhost:8000
  4. yarn client

Server

  1. # Build BuckleScript
  2. (cd server && yarn build)
  3. # Run server on localhost:3030
  4. yarn server

Replace yarn build with yarn start to run BuckleScript in watch mode.