Music album catalog using node.js, angular and mysql.
On infra folder you will find mysql-container.cmd
file, just run it with docker and the mysql database will be setted.
To setup the database data run
mysql -uroot -p
password
source ./music.sql;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
exit;
Run npm install
to get all dependencies downloaded.
Run npm run build
to build and run the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run npm run build
for build and start a dev server. Navigate to http://localhost:3000/
for the main page and http://localhost:3000/api/
for the API.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.