setup react email and nodemailer

This commit is contained in:
Milo Schwartz 2024-10-03 20:55:54 -04:00
parent fb55f1abc7
commit 46d988767a
11 changed files with 2497 additions and 4754 deletions

View file

@ -12,6 +12,7 @@ import {
import internal from "@server/routers/internal";
import { authenticated, unauthenticated } from "@server/routers/external";
import cookieParser from "cookie-parser";
import { User } from "@server/db/schema";
const dev = environment.ENVIRONMENT !== "prod";
@ -67,3 +68,11 @@ app.prepare().then(() => {
);
});
});
declare global {
namespace Express {
interface Request {
user?: User;
}
}
}