Track your live sports experiences. Share with friends. Relive the memories.
turnstile/
├── backend/ # Node.js/Express API
└── mobile/ # React Native (Expo) app
- Node.js 18+
- PostgreSQL (or Docker)
- Expo CLI
- iOS Simulator (Mac) or Android Emulator
- Install dependencies:
cd backend
npm install- Set up database:
# Using Docker (recommended)
docker-compose up -d
docker exec -i turnstile-db psql -U postgres -d turnstile < src/config/db-setup.sql
# Or using local PostgreSQL
createdb turnstile
psql -d turnstile -f src/config/db-setup.sql- Start server:
npm run devAPI will be available at http://localhost:3000
- Install dependencies:
cd mobile
npm install- Start Expo:
npx expo start- Run on device/simulator:
- Press
ifor iOS - Press
afor Android - Scan QR with Expo Go app
Backend:
- Node.js + Express
- PostgreSQL
- JWT Authentication
- Multer (file uploads)
Mobile:
- React Native (Expo)
- React Navigation
- Axios (API calls)
- Expo Image Picker
MIT