We welcome your contributions to NFTic-Marketplace! 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 NFTic-Marketplace, make sure you have the necessary tools and configurations in place.
- Node.js (Installed globally)
-
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/NFTic-Marketplace.git
-
Navigate to the project directory:
cd NFTic-Marketplace cd client or cd contracts
-
Install dependencies:
npm install
npm install --force
To configure NFTic-Marketplace, 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. -
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:
#Client File ENV Values
WEB3PRODUCTID="your-secret"
NFTSTORAGE="your-secret"
ADDRESS_DEPLOYED_TO="your-secret"
SEP_URL="your-secret"
APOLLO_KEY="your-secret"
ABI="your-secret"
#Contract File ENV Values
SEP_URL="your-secret"
PRIVATE_KEY="your-secret"
- Follow best practices.
- Maintain a clean and organized code structure.
- Use meaningful variable and function names.
-
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 NFTic-Marketplace 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: @ojasaklechayt
- Email: ojasaklechayt@gmail.com