GithubHelp home page GithubHelp logo

soundstorm's Introduction

soundstorm

Simple ring app which uses the SoundCloud API. Mostly covers the basic boilerplate of a typical clojure webapp. Currently you can login to the app via SoundCloud and view your tracks. Apart from a few lines of json fetching, mostly just a copy-paste job from cemerick/friend and ddellacosta/friend-oauth2 libraries examples.

Demo of the app is here: http://ss.ockhamsolutions.de/

note: the app uses no persistence, so nothing is saved or even cached

Configuration

To run the app, you must have a directory config in the project root directory. In this directory, there must also be a dev and prod directory, each containing a file ss.edn. Which directories contents is included, is dictated by the active leiningen profile. The namespace config looks for a file named ss.edn which is looked up as a classpath resource. The contents of ss.edn should look like:

{:client-config {:client-id "YOUR_SOUNDCLOUD_APP_CLIENT_ID"
                 :client-secret "YOUR_SOUNDCLOUD_APP_CLIENT_SECRET"
                 :callback {:domain "http://localhost.com:3000"
                            :path "/sc-redirect-uri"}}}

The above is my development config. I have localhost.com set to resolve to localhost on my development machine. This allows you to test the oauth process locally.

License

Copyright © 2013

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

soundstorm's People

Contributors

marsmining avatar

Watchers

 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.