├── src
├── assets
│ ├── .gitkeep
│ └── images
│ │ └── img-broken.png
├── app
│ ├── app.component.css
│ ├── app.component.html
│ ├── shared
│ │ ├── components
│ │ │ ├── header-user
│ │ │ │ ├── header-user.component.css
│ │ │ │ ├── header-user.component.html
│ │ │ │ ├── header-user.component.ts
│ │ │ │ └── header-user.component.spec.ts
│ │ │ ├── play-list-header
│ │ │ │ ├── play-list-header.component.ts
│ │ │ │ ├── play-list-header.component.html
│ │ │ │ ├── play-list-header.component.spec.ts
│ │ │ │ └── play-list-header.component.css
│ │ │ ├── section-generic
│ │ │ │ ├── section-generic.component.html
│ │ │ │ ├── section-generic.component.css
│ │ │ │ ├── section-generic.component.ts
│ │ │ │ └── section-generic.component.spec.ts
│ │ │ ├── card-player
│ │ │ │ ├── card-player.component.spec.ts
│ │ │ │ ├── card-player.component.ts
│ │ │ │ ├── card-player.component.html
│ │ │ │ └── card-player.component.css
│ │ │ ├── media-player
│ │ │ │ ├── media-player.component.spec.ts
│ │ │ │ ├── media-player.component.ts
│ │ │ │ ├── media-player.component.html
│ │ │ │ └── media-player.component.css
│ │ │ ├── play-list-body
│ │ │ │ ├── play-list-body.component.ts
│ │ │ │ ├── play-list-body.component.spec.ts
│ │ │ │ ├── play-list-body.component.css
│ │ │ │ └── play-list-body.component.html
│ │ │ └── side-bar
│ │ │ │ ├── side-bar.component.spec.ts
│ │ │ │ ├── side-bar.component.css
│ │ │ │ ├── side-bar.component.html
│ │ │ │ └── side-bar.component.ts
│ │ ├── services
│ │ │ ├── multimedia.service.spec.ts
│ │ │ └── multimedia.service.ts
│ │ ├── directives
│ │ │ ├── img-broken.directive.spec.ts
│ │ │ └── img-broken.directive.ts
│ │ ├── pipe
│ │ │ ├── order-list.pipe.ts
│ │ │ └── order-list.pipe.spec.ts
│ │ └── shared.module.ts
│ ├── modules
│ │ ├── favorites
│ │ │ ├── pages
│ │ │ │ └── favorite-page
│ │ │ │ │ ├── favorite-page.component.css
│ │ │ │ │ ├── favorite-page.component.html
│ │ │ │ │ ├── favorite-page.component.ts
│ │ │ │ │ └── favorite-page.component.spec.ts
│ │ │ ├── favorites-routing.module.ts
│ │ │ └── favorites.module.ts
│ │ ├── tracks
│ │ │ ├── pages
│ │ │ │ └── tracks-page
│ │ │ │ │ ├── tracks-page.component.css
│ │ │ │ │ ├── tracks-page.component.html
│ │ │ │ │ ├── tracks-page.component.spec.ts
│ │ │ │ │ └── tracks-page.component.ts
│ │ │ ├── tracks-routing.module.ts
│ │ │ ├── services
│ │ │ │ ├── track.service.spec.ts
│ │ │ │ └── track.service.ts
│ │ │ └── tracks.module.ts
│ │ ├── history
│ │ │ ├── pages
│ │ │ │ └── history-page
│ │ │ │ │ ├── history-page.component.css
│ │ │ │ │ ├── history-page.component.html
│ │ │ │ │ ├── history-page.component.ts
│ │ │ │ │ └── history-page.component.spec.ts
│ │ │ ├── components
│ │ │ │ └── search
│ │ │ │ │ ├── search.component.html
│ │ │ │ │ ├── search.component.css
│ │ │ │ │ ├── search.component.ts
│ │ │ │ │ └── search.component.spec.ts
│ │ │ ├── history-routing.module.ts
│ │ │ ├── services
│ │ │ │ ├── search.service.spec.ts
│ │ │ │ └── search.service.ts
│ │ │ └── history.module.ts
│ │ ├── home
│ │ │ ├── pages
│ │ │ │ └── home-page
│ │ │ │ │ ├── home-page.component.html
│ │ │ │ │ ├── home-page.component.css
│ │ │ │ │ ├── home-page.component.ts
│ │ │ │ │ └── home-page.component.spec.ts
│ │ │ ├── home.module.ts
│ │ │ └── home-routing.module.ts
│ │ └── auth
│ │ │ ├── auth.module.ts
│ │ │ ├── auth-routing.module.ts
│ │ │ ├── services
│ │ │ ├── auth.service.ts
│ │ │ └── auth.service.spec.ts
│ │ │ └── pages
│ │ │ └── login-page
│ │ │ ├── login-page.component.html
│ │ │ ├── login-page.component.ts
│ │ │ ├── login-page.component.spec.ts
│ │ │ └── login-page.component.css
│ ├── core
│ │ ├── models
│ │ │ ├── artist.model.ts
│ │ │ └── tracks.model.ts
│ │ ├── interceptors
│ │ │ ├── inject-session.interceptor.spec.ts
│ │ │ └── inject-session.interceptor.ts
│ │ └── guards
│ │ │ ├── session.guard.spec.ts
│ │ │ └── session.guard.ts
│ ├── data
│ │ ├── user.json
│ │ └── tracks.json
│ ├── app.component.ts
│ ├── app.component.spec.ts
│ ├── app-routing.module.ts
│ └── app.module.ts
├── favicon.ico
├── environments
│ ├── environment.prod.ts
│ └── environment.ts
├── main.ts
├── test.ts
├── index.html
├── styles.css
└── polyfills.ts
├── .editorconfig
├── tsconfig.app.json
├── tsconfig.spec.json
├── .gitignore
├── README.md
├── tsconfig.json
├── package.json
├── karma.conf.js
└── angular.json
/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/app/app.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
header-user works!
2 | -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leifermendez/angular-spotify/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/app/modules/tracks/pages/tracks-page/tracks-page.component.css: -------------------------------------------------------------------------------- 1 | .tracks-page { 2 | padding: 1rem; 3 | } -------------------------------------------------------------------------------- /src/app/modules/history/pages/history-page/history-page.component.css: -------------------------------------------------------------------------------- 1 | .history-page { 2 | padding: .65rem 0; 3 | } -------------------------------------------------------------------------------- /src/assets/images/img-broken.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leifermendez/angular-spotify/HEAD/src/assets/images/img-broken.png -------------------------------------------------------------------------------- /src/app/core/models/artist.model.ts: -------------------------------------------------------------------------------- 1 | export interface ArtistModel { 2 | name: string; 3 | nickname: string; 4 | nationality: string 5 | } 6 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | api: 'https://api-spotify-leifer.herokuapp.com/api/1.0' 4 | }; 5 | -------------------------------------------------------------------------------- /src/app/modules/favorites/pages/favorite-page/favorite-page.component.html: -------------------------------------------------------------------------------- 1 |