Skip to content

Conversation

@QUBITABHAY
Copy link

This pull request adds example environment variable files for both the backend and frontend, providing clear configuration templates for local development and production. It also updates the frontend .gitignore to more precisely ignore only sensitive local environment files, rather than all .env.* files.

Environment configuration improvements:

  • Added backend/.env.example with sample variables for MongoDB, JWT secret, Gemini API key, and server port to guide backend setup.
  • Added frontend/.env.example with a sample API URL to guide frontend setup.

.gitignore update:

  • Updated frontend/.gitignore to ignore only specific local environment files (.env.local, .env.development.local, .env.test.local, .env.production.local), making it safer to commit example env files and reducing risk of leaking sensitive data.

Copilot AI review requested due to automatic review settings October 1, 2025 13:40
@netlify
Copy link

netlify bot commented Oct 1, 2025

Deploy Preview for paisable ready!

Name Link
🔨 Latest commit 166661b
🔍 Latest deploy log https://app.netlify.com/projects/paisable/deploys/68dd2f5f9d0b96000838b58a
😎 Deploy Preview https://deploy-preview-45--paisable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds environment configuration templates to help developers set up local development environments correctly, while improving security by preventing accidental commits of sensitive environment data.

  • Added example environment files for both backend and frontend with sample configuration values
  • Updated frontend .gitignore to ignore only local environment files instead of all .env.* files
  • Provided clear documentation and guidance for required environment variables

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
frontend/.gitignore Updated to ignore only local environment files, allowing example files to be committed
frontend/.env.example Added frontend environment template with API URL configuration
backend/.env.example Added backend environment template with database, JWT, API key, and port configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@archa8 archa8 closed this Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants