List and play the favorite tracks of any Soundcloud user.
Try it out by visiting resounden.com on desktop or mobile.
Coded in Golang and React, this project will hopefully help provide insight to other coders on how to create a web application using this language and framework.
To build the Resounden binary, you must have Go installed on the machine.
Built with:
Go v1.5.1 linux/amd64
React (with addons) v0.14.1
Babel v6.2.0 (babel-core 6.2.1) (babel-preset-react 6.1.18)
go version
to check your Go version.- Make sure your
GOPATH
environment variable is set. go get
to get the required Go packages.go build
to build the binary.sudo setcap "cap_net_bind_service=+ep" resounden
Allows the binary to bind port 80 (and <1024) as a non-root user.- Enter a valid Soundcloud App Client ID in
config.json
and save. ./resounden
to start Resounden.
To compile the resounden.jsx React code into a regular JavaScript file, you must use Babel with the React preset:
cd public/js
to browse to the JavaScript directory.npm install babel-preset-react
to install the React preset for Babel.babel --presets "react" -o resounden.js resounden.jsx