markliu2013 / music

NodeJS Music Player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS Music Player

This is a music player built use NodeJS and MongoDB. If you have any suggestion or bug to post, click here.

Screen Shot

Install

NOTE: Firstly you need to install MongoDB and NodeJS.

  $ git clone --depth 1 https://github.com/markliu2013/music.git
  $ npm install
  $ node app.js or nohup node app.js &

NOTE: You should start your mongodb service to run the application.

Then visit http://localhost:3000/

Docker

Install docker and docker compose

docker-compose up or docker-compose up -d

Related modules

  1. express - MVC skeleton.
  2. ejs - View Template.
  3. mongoose - Database Driver for NodeJS
  4. formidable - Parse file uploads data
  5. tracklist - Parse id3 track info from mp3 file

Directory structure

-config/
  |__config.js
-models/
  |__Music.js
-public/
  |__images/
  |__javascripts/
  |__mp3/
  |__stylesheets/
-routes/
  |__index.js
  |__user.js
-test/
-views/
  |__index.ejs
-app.js
-package.json
-README.md

About

NodeJS Music Player


Languages

Language:JavaScript 94.0%Language:CSS 4.7%Language:EJS 1.2%Language:Dockerfile 0.1%