A React Native (Expo) mobile application for mushroom growing enthusiasts.
sporelink-app/
├── src/
│ ├── components/ # Reusable UI components
│ ├── screens/ # Screen components
│ ├── context/ # React Context providers
│ ├── utils/ # Helper functions
│ └── services/ # API and service integrations
main- Production branchstaging- Pre-production testingdevelop- Development branch- Feature branches:
feature/feature-name - Bug fixes:
fix/bug-name
- Create a new branch from
develop:
git checkout develop
git pull
git checkout -b feature/your-feature-name- Make your changes and commit:
git add .
git commit -m "feat: your descriptive commit message"- Push your changes:
git push -u origin feature/your-feature-name- Create a Pull Request to
develop
- Install dependencies:
npm install- Copy environment variables:
cp .env.example .env- Configure Firebase:
- Create a Firebase project
- Enable Authentication and Firestore
- Update
.envwith your Firebase config
# Start development server
npm start
# Run on iOS
npm run ios
# Run on Android
npm run android
# Run on web
npm run web# Run tests
npm test
# Run tests in watch mode
npm test:watch- Merges to
stagingtrigger deployment to staging environment - Merges to
maintrigger deployment to production
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
- Follow the project's ESLint configuration
- Use Prettier for code formatting
- Follow React Native best practices
type(scope): subject
body
footer
Types:
- feat: A new feature
- fix: A bug fix
- docs: Documentation changes
- style: Code style changes (formatting, etc)
- refactor: Code refactoring
- test: Adding or modifying tests
- chore: Build process or auxiliary tool changes
For questions or support, contact the development team.