Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View kgajera's full-sized avatar

Kishan Gajera kgajera

View GitHub Profile
@kgajera
kgajera / server.ts
Created May 25, 2020 22:44
Angular Express Server with Redis Caching
import 'zone.js/dist/zone-node';
import { APP_BASE_HREF } from '@angular/common';
import { ngExpressEngine } from '@nguniversal/express-engine';
import * as express from 'express';
import { existsSync } from 'fs';
import { join } from 'path';
import * as redis from 'redis';
import { AppServerModule } from './src/main.server';