A ✨ full-stack mobile To-Do app ✨ built with React Native, GraphQL, Apollo, PostgreSQL, and more! It's fast, clean, and developer-friendly — perfect for learning or launching 🚀.
- ⚛️ React Native
0.79.4 - 🚀 Expo SDK
53 - 🔗 Apollo Client
- 💅 NativeWind (TailwindCSS for RN)
- 🎭 Reanimated for slick animations
- 🧱 GlueStack UI (optional)
- 🟢 Node.js + Express
- 📡 Apollo Server
- 🔍 GraphQL (Schema + Resolvers)
- 🔄 Prisma ORM
- 🛢️ PostgreSQL
react-native-graphql-app/
├── frontend/ # 📱 Mobile client
│ ├── App.js
│ ├── apollo/ # Apollo config
│ ├── components/ # Reusable UI
├── server/ # 🔧 Node GraphQL API
│ ├── src/
│ ├── prisma/ # DB schema & migrations
└── README.md
git clone https://github.com/dmunasingha/react-native-graphql-app.git
cd react-native-graphql-appcd server
cp .env.example .env
npm install
npx prisma migrate dev --name init
npm run dev🔗 GraphQL Playground: http://localhost:4000/graphql
cd ../frontend
npm install
npm start💡 Tip: Use Expo Go or an emulator for testing
⚠️ Important: Update Apollo client URI inapollo/client.js:
uri: 'http://192.168.x.x:4000/graphql' // 👈 Use your LAN IP- ✅ Add / Toggle / Delete todos
- 🔁 Auto refetch with Apollo
- ✨ Beautiful styling with Tailwind
- 📲 Cross-platform (iOS/Android)
- 🔄 Prisma-backed DB
- ⏱️ Coming Soon: Offline mode
- 🌓 Coming Soon: Dark mode
| 📋 List View | 🛠️ Mutation Example |
|---|---|
| Coming soon | Coming soon |
- 🧹 Clear Metro cache:
npx expo start -c - 🧬 Test GraphQL at:
http://localhost:4000/graphql - 🧑🔬 Use
npx prisma studioto view data
- ❌ Network request failed: Use your real IP, not
localhost - ❌ Unknown type "ID": Match GraphQL types (use
Int!if Prisma expects it) - ❌ Metro error: All
importstatements must be at the top level
🪪 Licensed under the 0BSD license — totally open and flexible 💖
- 🚀 Apollo GraphQL
- 🧬 Prisma
- 📦 Expo
- 🎨 GlueStack UI
Made with ❤️ by Dunith Munasingha 📧 munasingha.dunith@gmail.com(mailto:munasingha.dunith@gmail.com) 🌐 https://www.linkedin.com/in/dunith-munasingha/