This project is an exercise from Epicodus to create a music marketplace with Angular Routing implemented.
This project was generated with Angular CLI version 7.2.3.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Use Firebase for database, navigate to: firebase.google.com Creating an Account First off, you'll need to make a free account at Firebase's website.
Creating a Project Next, create a remote database for our application through Firebase's website.
Once you've created an account, you should be taken to a user dashboard area, with an option to Create a New Project. Select this option, provide a name for your new project, and select your Country/region from the drop-down menu.
You'll then be taken to an "Overview" area. Where you'll be offered three options:
Add Firebase to your iOS app Add Firebase to your Android app Add Firebase to your web app Select Add Firebase to your web app. Firebase should respond with a pop-up modal window.
Update src/app/api-keys.ts with the information from the modal window that popped up: export const masterFirebaseConfig = { apiKey: "xxxx", authDomain: "xxxx.firebaseapp.com", databaseURL: "https://xxxx.firebaseio.com", storageBucket: "xxxx.appspot.com", messagingSenderId: "xxxx" };
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
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.