feat(api): fetch listens from spotify

This commit is contained in:
Julian Tölle 2020-02-02 19:21:58 +01:00
parent f253a66f86
commit f2065d3f1f
54 changed files with 1180 additions and 256 deletions

View file

@ -0,0 +1,16 @@
import { HttpModule, Module } from "@nestjs/common";
import { SpotifyAuthService } from "./spotify-auth.service";
@Module({
imports: [
HttpModule.registerAsync({
useFactory: () => ({
timeout: 5000,
baseURL: "https://accounts.spotify.com/"
})
})
],
providers: [SpotifyAuthService],
exports: [SpotifyAuthService]
})
export class SpotifyAuthModule {}