anhthii / Echo

:musical_note: A music streaming app built with React and Nodejs
367 stars 182 forks source link

:musical_note: Echo

Visit website at: http://echo.codingstack.net/

Build Status

A music app made with React + Redux + Nodejs demo video: (https://www.youtube.com/watch?v=knqfJlnTjtQ)

image

image

Features

Installation

To run the app with Node.js and MongoDB

This app will fetch tracks from an external api, so there is no need for a database to store tracks, but we still need one for creating user's playlists

Install and start MongoDB (https://docs.mongodb.org/manual/installation).

Install Node.js (http://nodejs.org). Any version above 6.0 works fine

Open .env and adjust the MONGODB_URI to your MongoDB server name (localhost normally works if you're running locally).

  1. Run npm install.

  2. Run npm run dev:client to start the frontend server

Wait for the build process to complete

carbon

  1. Run npm run dev:server to start the api server

Navigate to http://localhost:8000 in your browser to explore the app

Build the app

$ docker-compose build
$ docker-compose up

After building the app, frontend and backend servers will be merged into a single server and be available at http://localhost:3000

Contributors