Thank you for considering contributing to StockFlow!
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/StockFlow.git - Create a feature branch:
git checkout -b feat/your-feature
# Backend setup
cd backend
cp .env.example .env
# Edit .env with your MongoDB URI
npm install
npm run dev
# Frontend setup (new terminal)
cd frontend
npm install
npm start- Follow the code style guidelines below
- Test your changes locally
- Commit with descriptive messages
- Push and open a Pull Request
- Check if the issue already exists
- Describe the issue clearly with steps to reproduce
- Include environment details (OS, Node version, browser)
- Add screenshots if applicable
- Use ES6+ features (async/await, destructuring)
- Add input validation for endpoints
- Include proper error handling
- Follow existing file structure
- Use functional components with hooks
- Use the API service layer for API calls
- Handle loading and error states
- Follow TailwindCSS conventions
feat:- New featuresfix:- Bug fixesdocs:- Documentationrefactor:- Code refactoringtest:- Adding tests
By contributing, you agree that your contributions will be licensed under the MIT License.
Happy coding!