Code Monkey home page Code Monkey logo

unmusic.github.io's Introduction

UnMusic

Productivity music for Developers

   

Prerequisite

Sign up for the following services and grab the API keys:

  • Contentful - CMS for managing the contents of the app (20000 Records & 2,000,000 API Calls/month in free tier)
  • Cloudinary - Content Delivery service for hosting audio files for streaming (25 GB/month in free tier)
  • Amplitude - App usage analytics (Optional)
  • Sentry - Error monitoring in production (Optional)

   

Contentful Model Creation

  • Create two models in the Contentful dashboard named Playlist and Track.

  • Playlist model for saving the list of tracks, which will contain the following fields:

    Playlist Model

  • Track model for saving the track information, which will contain the following fields:

    Track Model

   

Cloudinary Assets Hosting

  • Login into your Cloudinary account and create folder and upload all of your MP3 files

    Cloudinary Folder Creation

  • Copy the public URL for each file by clicking on the Copy URL button

    Cloudinary Copy Public URL

   

Installation

  • Clone the repository by running git clone [email protected]:unmusic/unmusic.github.io.git

  • Get inside the /web folder

  • Add a file named .env.local and replace it with contents of .env.sample

  • Make sure you update all the environment variables below:

    • REACT_APP_CONTENTFUL_SPACE_ID
    • REACT_APP_CONTENTFUL_ACCESS_TOKEN
    • REACT_APP_AMPLITUDE_API_KEY (Optional)
    • REACT_APP_SENTRY_DSN (Optional)
  • Install all the dependencies by running npm install

  • Run npm start to start the application in the development mode. The app will be running at http://localhost:3000.

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.