https://github.com/paulshen/listening-bar
Shared listening of Spotify albums
https://github.com/paulshen/listening-bar
bucklescript reasonml reasonreact spotify
Last synced: about 1 year ago
JSON representation
Shared listening of Spotify albums
- Host: GitHub
- URL: https://github.com/paulshen/listening-bar
- Owner: paulshen
- Created: 2020-03-23T05:44:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T16:55:21.000Z (over 3 years ago)
- Last Synced: 2024-11-11T14:42:57.795Z (over 1 year ago)
- Topics: bucklescript, reasonml, reasonreact, spotify
- Language: Reason
- Homepage: https://listening.bar
- Size: 1.54 MB
- Stars: 37
- Watchers: 1
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - listening-bar
README
# Listening Bar
https://listening.bar
A ReasonML/BuckleScript webapp for listening to Spotify albums together.
## Installation
```sh
yarn
(cd server && yarn)
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
```sh
# Build BuckleScript
yarn build
# Serve dev client on localhost:8000
yarn client
```
#### Server
```sh
# Build BuckleScript
(cd server && yarn build)
# Run server on localhost:3030
yarn server
```
Replace `yarn build` with `yarn start` to run BuckleScript in watch mode.