From afc65387921d2d45844c0707dafb23382e12e927 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Sat, 19 Nov 2022 20:28:34 +0100 Subject: [PATCH] .env, qoc --- .env | 17 ++++++++++++----- pages/api/hello.ts | 13 ------------- 2 files changed, 12 insertions(+), 18 deletions(-) delete mode 100644 pages/api/hello.ts diff --git a/.env b/.env index f9fd3b620..a5734e156 100644 --- a/.env +++ b/.env @@ -1,7 +1,14 @@ -# Environment variables declared in this file are automatically made available to Prisma. -# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema +# Database +DATABASE_URL="postgresql://postgres:postgres@localhost:5432/documenso_live?schema=public" -# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. -# See the documentation for all the connection string options: https://pris.ly/d/connection-strings +# Host +NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000' -DATABASE_URL="postgresql://postgres:postgres@localhost:5432/documenso_live?schema=public" \ No newline at end of file +# Email +EMAIL_FROM='notifications@yourselfhostedcal.com' +EMAIL_SERVER_HOST='smtp.office365.com' +EMAIL_SERVER_PORT=587 +EMAIL_SERVER_USER='' +EMAIL_SERVER_PASSWORD='' + +# API Keys \ No newline at end of file diff --git a/pages/api/hello.ts b/pages/api/hello.ts deleted file mode 100644 index f8bcc7e5c..000000000 --- a/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next' - -type Data = { - name: string -} - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }) -}