Giter VIP home page Giter VIP logo

music-sampler's Introduction

Music Sampler

This is a web app that delivers short 30 second soundtracks to users through the use of Spotify's API. Users can search for an artist and retrieve the top 10 tracks for that artist. Server to server authentication allows the user free use of the search API without providing client information. An access token is received from every initial POST request made to Spotify on startup. Tokens expire after an hour of use.

Table of Contents

Demo

music sampler The app is currently live: https://ms-zm.herokuapp.com/

Implementation

To clone this repository you need Git, Node and Node's package manager (npm) installed on your computer.

Dependencies

"dependencies": {
    "axios": "^0.18.0",
    "express": "^4.16.3",
    "node-sass-chokidar": "^1.3.0",
    "npm-run-all": "^4.1.3",
    "react": "^16.3.2",
    "react-dom": "^16.3.2",
    "react-scripts": "1.1.4"
},
"devDependencies": {
    "cors": "^2.8.4",
    "nodemon": "^1.17.4"
}

Installation

# clone the repo
$ git clone https://github.com/Ziwam/music-sampler.git

# go into the repo
$ cd music-sampler

# install the dependencies
$ npm install

# start the app
$ npm run start-css

Deployment

Create a development-ready build be running.

$ npm run build

A folder called build will appear in the root of the project. If you wish to change to name of the folder, don't forget to change the path in the server.js file to the appropriate life name.

Technologies

This project includes:

License

(MIT License) The MIT License (MIT) Copyright (c) 2018 Ziwa Mukungu [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

music-sampler's People

Contributors

ziwam avatar

Watchers

James Cloos 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.