A new authentication service and module were added to the application. The app.module.ts file was updated to include this newly created AuthModule. Also, an initial structure for the AuthService was set up.
15 lines
416 B
TypeScript
15 lines
416 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
import * as process from "node:process";
|
|
|
|
export default defineConfig({
|
|
schema: './src/schema.ts',
|
|
out: './drizzle',
|
|
dialect: 'postgresql',
|
|
dbCredentials: {
|
|
host: `${process.env.POSTGRES_HOST}:${process.env.POSTGRES_PORT}`,
|
|
user: process.env.POSTGRES_USER,
|
|
password: process.env.POSTGRES_PASSWORD,
|
|
database: process.env.POSTGRES_DATABASE,
|
|
},
|
|
});
|