mirror of
https://github.com/documenso/documenso.git
synced 2025-11-25 14:11:43 +10:00
.env, qoc
This commit is contained in:
19
.env
19
.env
@ -1,7 +1,14 @@
|
|||||||
# Environment variables declared in this file are automatically made available to Prisma.
|
# Database
|
||||||
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/documenso_live?schema=public"
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/documenso_live?schema=public"
|
||||||
|
|
||||||
|
# Host
|
||||||
|
NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000'
|
||||||
|
|
||||||
|
# Email
|
||||||
|
EMAIL_FROM='notifications@yourselfhostedcal.com'
|
||||||
|
EMAIL_SERVER_HOST='smtp.office365.com'
|
||||||
|
EMAIL_SERVER_PORT=587
|
||||||
|
EMAIL_SERVER_USER=''
|
||||||
|
EMAIL_SERVER_PASSWORD=''
|
||||||
|
|
||||||
|
# API Keys
|
||||||
@ -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<Data>
|
|
||||||
) {
|
|
||||||
res.status(200).json({ name: 'John Doe' })
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user