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
dist
folder.mock-server
under the root path of this project. Put the db.json
file into mock-server
folder.dist
, paste it into mock-server
and rename it public
.mock-server/public/
, images
and music
.music
folder and put picture files into images
folder.db.json
to match the filename of your own.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)