Environment Variables
Overview
AIPDFQuery
is a Next.js
application. So, you need to install Node.js
and npm
first.
Application Environment Variables
AIPDFQuery
application uses environment variables
to manage the application configuration. You can write the environment variables
in the .env
file in the root directory of the application or set environment variables directly in the command line
before starting your NextJs
application.
Environment variables are essential for configuring your application. Ensure these variables are set correctly for optimal performance.
Edit the /.env
file in the root directory of the application and set the environment variables as per your application requirements. Please do not modify variables name.
.evn
file is a plain text file that contains key-value pairs of the environment variables. Each key-value pair is separated by an equal sign =
. The key-value pair is separated by a new line.
Env Name | Type | Description | Example |
---|---|---|---|
DATABASE_URL | string |
| mysql://<username>:<password>@localhost:3306/<database name> |
OPENAI_API_KEY | string |
| sk-************2i6TMaabqyT3BlbkFJDwQu6******* |
STRIPE_SECRET_KEY | string |
| sk_*********IQUNm2q9BcmT40i5w4XEOu8g**** |
STRIPE_WEBHOOK_SECRET | string |
| whsec_******2791f47b154600323acd***** |
STRIPE_SUB_PRICE_ID | string |
| price_****bSGhxFjEvH**** |
PINECONE_API_KEY | string |
| 6c4f0549-*****-82d3-013a6**** |
PINECONE_ENVIRONMENT | string |
| gcp-starter |
PINECONE_INDEX_NAME | string |
| aipdfquery |
NEXTAUTH_URL | string |
| http://domainname.com |
NEXTAUTH_SECRET | string |
| 3f9f053b-6604-47d7-b84a-4a3ad1505b0c |
ORIGIN | string |
| http://domainname.com |
EMAIL_VERIFY_OPTION | string |
| ON or OFF only |
IS_SENDGRID | string |
| ON or OFF only |
SENDGRID_API_KEY | string |
| SG.H_***h2wg2qMOw.HorhIZPu6uNWQvfjl**** |
EMAIL_VERIFY_TIME_EXP | number |
| 600000 milliseconds. |
|
|
|
|
JWT_SECRET | string |
| 3f9f053b-6604-47d7-b84a-4a3ad1505b0c |
| number |
|
|
| string |
|
|
| string |
| PERSONAL or SaaS only |
| string |
| AIPDFQuery |
| string |
|
|
Resources: