We welcome your contributions to Bhagwad Gita API! By contributing to this project, you help us make it better and empower creative minds worldwide. Please take a moment to read and follow this guide to ensure a smooth contribution process.
Before you start contributing to Bhagwad Gita API, make sure you have the necessary tools and configurations in place.
-
Fork the repository: Click the "Fork" button in the upper right corner of this repository's page.
-
Clone your fork: In your terminal, use the following command to clone your forked repository:
git clone https://github.com/your-username/Bhagwad-Gita-API.git
-
Navigate to the project directory:
cd Bhagwad-Gita-API
-
Install dependencies:
npm install
To configure SnapLine, you need to set up environment variables. We use a .env
file to manage these variables. Follow these steps:
-
Create a
.env
file: In the project root directory, create a file named.env
. -
Add environment variables: Add the required environment variables to your
.env
file. Refer to the README for a list of environment variables and their descriptions. -
Add comments (important!): When adding environment variables, it's crucial to provide comments explaining their purpose and any specific configuration details. This helps other developers understand their usage.
Here's an example of how to format your .env
file:
# MongoDB connection URL
MONGODB_URI="contact me to get database url or creating replica for testing"
- Follow best practices for TypeScript and React development.
- Maintain a clean and organized code structure.
- Use meaningful variable and function names.
When you add new environment variables or update existing ones, make sure to:
- Include comments explaining their purpose and any configuration details.
- Add comments to your code, especially for complex logic or non-obvious functionality.
- Document your functions and components with comments explaining their purpose, inputs, and outputs.
-
Create a new branch: Before making changes, create a new branch with a descriptive name:
git checkout -b feature-name
-
Make your changes: Write your code and commit your changes frequently with clear and concise commit messages.
-
Push your changes: Push your branch to your fork on GitHub:
git push origin feature-name
-
Create a pull request: Go to the main repository on GitHub and create a pull request from your forked branch. Describe your changes and provide context.
-
Review and collaboration: Participate in the review process, respond to feedback, and collaborate with other contributors to ensure your changes align with project goals.
Have questions or need assistance? Reach out to us:
- GitHub: @PriyanshuVerma-dev
- Email: priyanshu.creator@hotmail.com