Thank you for your interest in contributing to Investra! We're excited to have you as a part of our community and look forward to your contributions to make this paper trading platform even better. Whether you're fixing bugs, adding new features, or improving documentation, every bit helps.
Please take a moment to read the following guidelines for contributing to the project.
If you find a bug, feel free to open an issue. When submitting a bug report, provide detailed information including:
- A clear description of the problem.
- Steps to reproduce the issue.
- Any relevant screenshots or logs.
- The expected behavior and what you experienced instead.
If you have an idea for a new feature, you can open an issue with the label enhancement
to suggest your idea. Please provide the following:
- A detailed explanation of the feature.
- The problem it solves or how it improves the platform.
- Any additional context or links that might help.
Check the Issues page for bugs, feature requests, or enhancements that need to be worked on. Feel free to comment on an issue to let us know you're working on it. It is recommended to wait untill we assign you the issue to start working on it
Before submitting a pull request (PR):
- Fork the repository and clone it locally.
- Make sure your code is clean, well-documented, and adheres to the coding standards of the project.
- Test your changes thoroughly.
- Fork the repository by clicking the "Fork" button on the GitHub page.
- Clone your fork locally:
git clone https://github.com/your-username/Investra
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
- Make your changes.
- Commit your changes with a descriptive commit message:
git commit -m "Add feature X or fix bug Y"
- Push your changes to your fork:
git push origin feature-name
- Submit a pull request to the
main
branch of the main repository.
We will review your PR and provide feedback. Once approved, it will be merged into the project.
Please note that we adhere to a Code of Conduct to maintain a welcoming and inclusive environment for everyone. Be respectful and considerate when contributing and interacting with others.
To set up the project locally and start contributing:
git clone https://github.com/SanchitGeez/Investra.git
Make a simple account on MarketStack and generate your API key Make sure to use API tokens wisely as they are limited. Contact Project Admin if you run out of tokens
cd client/
npm install
npm start
Create a .env file and add the following:
API_KEY = your_api_key
cd backend/
npm install
node server.js
Create a .env file and add the following:
API_KEY = your_api_key
PORT=4000
DB_URI= your_db_uri
JWT_SECRET=jwtrandomstring
Now you should have the client and backend running locally.
Before submitting a PR, make sure your code is working and doesn't break any existing functionality. Please include tests for new features where applicable.
We welcome all contributions and are excited to see how you can help improve Investra! Thank you for your time and effort in making the project better for everyone.