Welcome to the ZenZone project! We appreciate your interest in contributing to our mental health application. Together, we can create a supportive community focused on mental well-being.
- Fork the repository and clone it to your local machine.
- Create a new branch for your feature or bug fix:
or
git checkout -b feature-name
git checkout -b bugfix-name
- Regularly keep your fork updated with the main branch:
git pull upstream main
- Follow the setup instructions below to get the project running locally.
- Clone the repository and navigate to the
backend
folder. - Install dependencies:
npm install
- Create a
.env
file and add the following variables:MONGO_URI=your_mongo_db_uri JWT_SECRET=your_jwt_secret
- Start the server:
npm run server
- Navigate to the
frontend
folder. - Install dependencies:
npm install
- Run the app:
npm run dev
- Before reporting, check the existing issues to avoid duplicates.
- If you find a bug, create a new issue with:
- Title: A clear and concise title.
- Description: Steps to reproduce, expected behavior, and actual behavior.
- Environment: Browser version, OS, or any other relevant details.
- Check the existing issues for similar suggestions.
- Open a new issue with:
- Title: Title of the feature.
- Description: Explain the feature with examples.
- Use Case: How this feature benefits users.
- Ensure your code follows the project's coding style.
- Create a pull request against the
main
branch with a descriptive title and a summary of changes.
- If you're contributing to design, create mockups or design assets.
- Follow the existing style guide for consistency.
- Submit designs through issues or a shared design file.
- Keep commit messages concise and descriptive.
- Submit one feature or bug fix per pull request.
- Ensure compatibility with supported versions of Node.js and other dependencies.
We expect all contributors to adhere to Code of Conduct to foster an inclusive and respectful community.
Thank you for your interest in contributing to ZenZone! If you have any questions or need assistance, feel free to reach out.
Happy coding! 💚