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 { SpotifyApiService } from "./spotify-api.service";
@Module({
imports: [
HttpModule.registerAsync({
useFactory: () => ({
timeout: 5000,
baseURL: "https://api.spotify.com/"
})
})
],
providers: [SpotifyApiService],
exports: [SpotifyApiService]
})
export class SpotifyApiModule {}