A music web application built in angular 1.6
Demo -> Melody
Home page
Song page
About page
git clone https://github.com/NevenLeung/melody.git
bower install
npm install
gulp
- The built files will be in
dist
folder. - Create a folder named
mock-server
under the root path of this project. Put thedb.json
file intomock-server
folder. - Make a copy of
dist
, paste it intomock-server
and rename itpublic
. - Create two folder in
mock-server/public/
,images
andmusic
. - Put your own music files into
music
folder and put picture files intoimages
folder. - Update
db.json
to match the filename of your own. - Install and run
json-server
npm install json-server -g
cd mock-server
json-server --watch db.json
The mock-server
structure should be like this. The content in ( ) is the usage of the folder.
mock-server
|--public (the copy of dist)
|--(some files of dist)
|--images
|--album (store album cover)
|--artist (store artist photo)
|--avatar (store avatar for selection)
|--logo.png
|--music (store music files)
|--db.json (the mock database)
Run it with melody-server
- AngularJS
- Bootstrap
- ui-bootstrap AngularJS directives specific to Bootstrap
- ui-router The de-facto solution to flexible routing with nested views in AngularJS
- ngDialog Modals and popups provider for AngularJS
- Font-Awesome The iconic font and CSS framework
- angular-soundmanager2 A music player made with SoundManager 2 API for AngularJS
- angular-xeditable Edit in place for AngularJS
- angular-sortable-view Fully declarative (multi)sortable for AngularJS
- angular-awesome-slider Angular slider control directive