Music-server is a small project for the course angular.js programming project and node.js programming project at the University of Helsinki, Department of Computer Science. It provides
- A small api for uploading and downloading songs, and getting infos from uploaded albums and songs
- An angular HTML5 based music library and player.
- Node.js >= 5.x.x
To install the server clone the repository to folder and run
npm install
After npm and sails has finished with their dependencies, bower dependecies are needed. You can install all of the bower dependencies by running
bower install
If Bower isn't set to your path, you can use npm script instead
npm bower
BeforeTo start up a server run.
node app.js
A server will be available by default on port 1337. You can change this by changing config/env/development.js
To start up a production server with different configs, minimized scripts and styles and without watches on files, run
node app.js --prod
You can modified production configs by changing config/env/production.js
To test the code you need to run
npm test
This will run both clientside tests and node tests. Coverage report will be generated in the coverage/ folder
Hours are logged here Worklog.md