-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abour .env file creation #2
Comments
To get the API keys for Vercel KV as described in the Vercel KV Quickstart documentation, here are the steps to follow: 1. Create a Vercel KV Database:
2. Access the KV Database:
3. Get the API Keys and Tokens:
Reference for Vercel KV API Key SetupFor a detailed walkthrough on setting up the Vercel KV database and obtaining the API keys, please refer to the following video: Reference for Cloudinary SetupFor a detailed walkthrough on setting up Cloudinary and obtaining the necessary API keys, please refer to the following video: SMTP Configuration for Development and Production
Reference for SMTP SetupFor a detailed walkthrough on setting up SMTP and configuring the necessary settings, please refer to the following video: Reference for Stripe SetupFor a detailed walkthrough on setting up Stripe and obtaining the necessary API keys, please refer to the following video: Reference for MongoDB SetupFor a detailed walkthrough on setting up MongoDB and configuring your database, please refer to the following video: |
Update README.md: Added reference to Issue #2 regarding .env template inquiry for better user guidance
Thank you sir.
It means a lot to me
…On Tue, Oct 15, 2024 at 11:06 PM Piyush Raj ***@***.***> wrote:
-
/Backend/.env template
- SECRET_KEY=your-secret-key
- COLLECTION_NAME=your-collection-name
- COLLECTION_PASSWORD=your-collection-password
- FRONTEND_URL=https://your-frontend-url.com
- BACKEND_URL=https://your-backend-url.com
- CLOUDINARY_NAME=your-cloudinary-name
- CLOUDINARY_API_KEY=your-cloudinary-api-key
- CLOUDINARY_API_SECRET=your-cloudinary-api-secret
- STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key
- STRIPE_SECRET_KEY=your-stripe-secret-key
- REDIS_VERCEL_KV_DB=your-vercel-redis-db
- KV_URL=your-kv-url
- KV_REST_API_URL=your-kv-rest-api-url
- KV_REST_API_TOKEN=your-kv-rest-api-token
- KV_REST_API_READ_ONLY_TOKEN=your-kv-read-only-token
- SMTP_HOST=your-smtp-host
- SMTP_PORT=your-smtp-port
- SMTP_GOOGLE_APP_PASSWORD=your-google-app-password
- SMTP_GOOGLE_MAIL_ADDRESS=your-google-mail-address
-
/Frontend/.env template
- REACT_APP_API_URL_BACKEND=https://your-backend-url.com/
- REACT_APP_API_URL_FRONTEND=https://your-frontend-url.com/
To get the API keys for Vercel KV as described in the Vercel KV
Quickstart documentation
<https://vercel.com/docs/storage/vercel-kv/quickstart#create-a-kv-database>,
here are the steps to follow:
1. Create a Vercel KV Database:
- Go to your Vercel dashboard.
- Navigate to Storage > KV.
- Click on Create a KV Database and provide a name for your database.
2. Access the KV Database:
- After creating the KV database, go to the KV section in your Vercel
project.
- Select the KV database you just created to view its details.
3. Get the API Keys and Tokens:
- KV_REST_API_URL: This URL is used to make requests to the KV API.
- You can find this in the details section of your created KV
database.
- KV_REST_API_TOKEN: This is the token used to authenticate your
requests.
- You can generate or view the existing API token under the API
Tokens section.
- KV_REST_API_READ_ONLY_TOKEN: This token is used for read-only
operations.
- You can also find or generate this in the API Tokens section of
the KV dashboard.
- Add the API Keys to Your .env File:
- Once you have your KV_REST_API_URL, KV_REST_API_TOKEN, and
KV_REST_API_READ_ONLY_TOKEN, add them to your .env file like this:
Reference for Vercel KV API Key Setup
For a detailed walkthrough on setting up the Vercel KV database and
obtaining the API keys, please refer to the following video:
Getting Started with Vercel KV
<https://youtu.be/UNwIUq9RJJk?si=0TSO-JBL2D3ONd95>
Reference for Cloudinary Setup
For a detailed walkthrough on setting up Cloudinary and obtaining the
necessary API keys, please refer to the following video:
Getting Started with Cloudinary
<https://youtu.be/891d9kfootM?si=w62bMRliOua2KLWG>
SMTP Configuration for Development and Production
- SMTP Configuration
- SMTP_HOST=your-smtp-host
- Port for development
- SMTP_PORT=587 # Typically used for TLS
- Port for production
- SMTP_PROD_PORT=465 # Typically used for SSL
- SMTP_GOOGLE_APP_PASSWORD=your-google-app-password
- SMTP_GOOGLE_MAIL_ADDRESS=your-google-mail-address
Reference for SMTP Setup
For a detailed walkthrough on setting up SMTP and configuring the
necessary settings, please refer to the following video:
Getting Started with SMTP
<https://youtu.be/L46FwfVTRE0?si=L9RRXUY1a5qmfQtc>
Reference for Stripe Setup
For a detailed walkthrough on setting up Stripe and obtaining the
necessary API keys, please refer to the following video:
Getting Started with Stripe
<https://youtu.be/3OOHC_UzrKA?si=G9YEUnbKDSU6hpGL>
Reference for MongoDB Setup
For a detailed walkthrough on setting up MongoDB and configuring your
database, please refer to the following video:
Getting Started with MongoDB
<https://youtu.be/ACUXjXtG8J4?si=JFRzALqLQbbl_hU8>
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCCEDWFBFABWYAPXYS3R7XTZ3VHAPAVCNFSM6AAAAABOCMS5LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGYZDIOJTHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hello sir...
I'm Gnanesh N C and studying MCA final year.
i'm doing MERN project for my academics same as like your project please help me out for creation of .env file
I am getting mongoserver error and also bad authentication please resolve this error and help to run this project and modifications.
thank your
The text was updated successfully, but these errors were encountered: