expo-next-kafka
Real-time location streaming with React Native, Next.js and Apache Kafka
Setup
Upstash Kafka
- Sign up for Upstash
- Create a new Kafka cluster
- Copy
KAFKA_URL
andKAFKA_TOKEN
Mapbox
- Sign up for Mapbox
- Create a new Mapbox Token
- Copy
MAPBOX_TOKEN
Develop locally
git clone https://github.com/paulphys/expo-next-kafka.git
cd expo-next-kafka
pnpm
pnpm dev
Fill in the credentials in mobile/.env
and web/src/components/Map.tsx
Warning
This exposes the credentials to the client, only for demo purposes
Download the Expo Go app to your smartphone and scan the QR Code to run the application natively