Skip to content

Instantly share code, notes, and snippets.

@antonkalik
Created March 27, 2024 20:51
Show Gist options
  • Save antonkalik/f8ee99d92447e7dbb8b6138041bb6e31 to your computer and use it in GitHub Desktop.
Save antonkalik/f8ee99d92447e7dbb8b6138041bb6e31 to your computer and use it in GitHub Desktop.
Initializing services
import { TokenService } from 'src/services/TokenService';
import { RedisService } from 'src/services/RedisService';
import { EmailService } from 'src/services/EmailService';
export const initialize = async () => {
await RedisService.initialize();
TokenService.initialize();
EmailService.initialize();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment