A React Native mobile app that helps dog owners check surface temperature to ensure safe paw walking conditions. Built with Expo and Docker for cross-platform development.
- Real-time Temperature Checking: Get current surface temperature at any location
- GPS & Zip Code Support: Use current location or search by zip code
- Paw Safety Assessment: Color-coded risk levels (Safe/Caution/Dangerous)
- Weather Integration: Comprehensive weather data including UV index and humidity
- Smart Recommendations: Personalized advice for safe dog walking
- Cross-platform: Works on both iOS and Android
- Docker Desktop
- Xcode (for iOS development)
- Expo Go app on your phone
-
Clone the repository
git clone https://github.com/natistir/pawsafe-app.git cd pawsafe-app -
Build and start the Docker environment
docker-compose build docker-compose up -d
-
Access the development container
docker-compose exec react-native-dev bash -
Install dependencies and start the app
npm install npm start
-
Test on your device
- Download "Expo Go" from the App Store
- Scan the QR code displayed in the terminal
- The app will open on your phone
src/
├── components/ # Reusable UI components
├── screens/ # App screens (Home, Location, Settings)
├── services/ # API services (Weather, Location)
├── utils/ # Utility functions (Temperature calculations)
├── types/ # TypeScript type definitions
└── config/ # App configuration
| Risk Level | Temperature Range | Action |
|---|---|---|
| 🟢 Safe | Below 43°C (109°F) | Safe for walking |
| 🟡 Caution | 43-49°C (109-120°F) | Limit exposure, use booties |
| 🔴 Dangerous | Above 49°C (120°F) | Avoid walking, find shade |
# Start development server
docker-compose up -d && docker-compose exec react-native-dev npm start
# View logs
docker-compose logs -f react-native-dev
# Stop development server
docker-compose down
# Rebuild container (after dependency changes)
docker-compose build --no-cache# Inside the container
npm run build:ios# Inside the container
npm run build:android-
Get a Weather API Key
- Sign up at WeatherAPI.com
- Add your API key to
src/config/env.ts
-
Update App Configuration
- Modify
app.jsonfor app name, icons, and bundle identifiers - Update
package.jsonwith your app details
- Modify
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Weather data provided by WeatherAPI.com
- Built with Expo and React Native
- UI components by React Native Paper
If you have any questions or need help getting started, please open an issue or reach out!
Keep those paws safe! 🐾