Map app for finding local farms
- My role
- Fullstack Developer
- Team
- Solo
- Platforms
- Mobile, Backend, Web
Client name left out
People who want to buy food straight from a farm have no easy way to see which farms are around them, and farmers have no simple way to be found. I built the whole product alone: a React Native map app with filters, reviews, a flow to list or claim a farm, proximity notifications and a premium tier, a Firebase backend of about 40 Cloud Functions, and a web admin with bulk Excel import and export.
The problem
Buyers had no single place to see the local farms around them, and small farms had no simple way to be found beyond word of mouth. The product needed three things at once: a map people would actually open, a listing flow a farmer can finish on a phone in a few minutes, and a backend and admin that keep the listings clean as the catalogue grows.
What I built
- A map of nearby farms on Google Maps, with farms from our own database and from Google Places, and a details screen with photos, products, schedule, contacts and reviews.
- Filters by product category, farm type, rating and tags, plus saved and hidden farms and a "my farms" screen.
- A six-step flow for farmers to add a farm: what you sell, who the farmers are, the location on a map, contacts, opening hours and details — with a GPT-4 draft description the farmer can edit. The same screens serve editing.
- Claiming an existing farm: a farmer asks for a listing already on the map, the request lands in the support inbox, and an admin assigns the farm by location.
- Proximity notifications: every 15 minutes a background task sends the user's position to a Cloud Function, which finds farms within 2 km and sends a push; notifications are also stored and shown in the app.
- A premium tier paid through Stripe Checkout, with the session created and premium status checked on the backend, and a restore flow.
- Sign-in with Google, Apple, email or a phone number with a one-time code; visitors can browse first and register later.
- A Firebase backend of about 40 callable Cloud Functions: users and roles, farms, reviews, support, filtering, payments, notifications and a separate admin set.
- A web admin with bulk import of farms from an Excel file, product categories and items, filtered export of farms to Excel, the support inbox and, for super admins, managing other admins.
My part
- Set up the project from scratch: React Native 0.74, TypeScript, Redux Toolkit, React Navigation, a UI kit on React Native Paper, English and Spanish, and a Firebase project for auth, data, files and push.
- Chose callable Cloud Functions over direct Firestore access from the app, so every write goes through server-side checks and the admin and the app share one API.
- Built the map and search: current location, nearby search, Google Places details for farms not yet in the database, and server-side filtering.
- Designed the farmer flow as a step wizard with its own state in Redux, so a farmer can leave and come back without losing the listing.
- Wrote the proximity engine: a Haversine distance check in a Cloud Function, driven by a background task on the phone.
- Integrated Stripe Checkout for the premium tier with the customer kept in Firestore and a restore flow for reinstalls.
- Built the admin so the client could load their initial farm catalogue from Excel in one go and pull it back out, instead of entering farms by hand.
- Handled releases: version bumps for iOS and Android builds, with Android and iOS splash-screen fixes along the way.
Result
The app, the backend and the admin were delivered as one product; the last work added the claim-a-farm flow and Google-sourced farms.
Tech stack
- Mobile
- React Native 0.74
- TypeScript
- Redux Toolkit
- React Navigation 6
- React Native Paper
- Reanimated
- Bottom Sheet
- i18next (English, Spanish)
- Maps & location
- Google Maps (react-native-maps)
- Google Places (nearby search, details, autocomplete)
- Geolocation
- Background fetch (15-minute proximity check)
- Backend
- Firebase Cloud Functions (TypeScript)
- Firestore
- Firebase Auth
- Firebase Storage
- Firebase Cloud Messaging
- Haversine distance
- Payments
- Stripe Checkout (server-side session)
- Premium status check
- Restore purchases
- Auth
- Google Sign-In
- Apple Sign-In
- Phone number + OTP
- Email and password
- Anonymous visitor
- AI
- OpenAI GPT-4 for farm descriptions
- Admin
- React 18
- TypeScript
- Redux Toolkit
- React-Bootstrap
- Firebase JS SDK
- SheetJS (Excel import and export)
- libphonenumber-js
Need a first version people can use? Tell me about the idea.
Pick a 30-minute slot and tell me what the first release has to prove, or send a few sentences by email.
Related work
- Sports and Fitness
Web onboarding, paywall and admin for a fitness app
- Web
- Backend
- Payments
- Subscriptions
- Admin panel
- E-commerce / Marketplace
- Healthcare / MedTech
iOS and Android shopping apps for a pharmacy chain
Go to Checkout went from 20 s to 3 s and the homepage from 7.7 s to 3.7 s, measured by QA.
- Mobile
- Performance
- Payments
- CI/CD
- Release / stores