Nuxt coursework boilerplate: Tailwind, Drizzle (MySQL), Redis, Pug page, Vercel deploy workflow

This commit is contained in:
2026-09-06 11:01:04 +02:00
commit 5920325d65
20 changed files with 2226 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Redis } from "ioredis";
export const redis = new Redis({
host: process.env.REDIS_HOST ?? "localhost",
port: Number(process.env.REDIS_PORT ?? 6379),
username: process.env.REDIS_USERNAME,
password: process.env.REDIS_PASSWORD,
lazyConnect: true,
maxRetriesPerRequest: 2,
});