🐳 Docker configuration

This commit is contained in:
2021-08-31 09:32:39 -07:00
parent 8dc5daf3e0
commit 9c13c41e02
5 changed files with 1225 additions and 527 deletions

View File

@@ -2,12 +2,11 @@
import { Service, ServiceBroker, Context } from "moleculer";
import axios from "axios";
import leven from "leven";
import { matchScorer } from "../utils/searchmatchscorer.utils";
const CV_BASE_URL = "https://comicvine.gamespot.com/api/";
const CV_API_KEY = "a5fa0663683df8145a85d694b5da4b87e1c92c69";
export default class GreeterService extends Service {
export default class ComicVineService extends Service {
public constructor(public broker: ServiceBroker) {
super(broker);
this.parseServiceSchema({