{"id":29315877,"url":"https://github.com/dmunasingha/react-native-graphql-app","last_synced_at":"2026-04-09T12:37:38.398Z","repository":{"id":301535973,"uuid":"1009541243","full_name":"dmunasingha/react-native-graphql-app","owner":"dmunasingha","description":"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 🚀.","archived":false,"fork":false,"pushed_at":"2025-06-27T10:43:25.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-27T11:40:55.597Z","etag":null,"topics":["apollo","express","graphql","nodejs","postgreesql","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmunasingha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-27T09:50:02.000Z","updated_at":"2025-06-27T10:42:20.000Z","dependencies_parsed_at":"2025-06-27T11:51:12.907Z","dependency_job_id":null,"html_url":"https://github.com/dmunasingha/react-native-graphql-app","commit_stats":null,"previous_names":["dmunasingha/react-native-graphql-app"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dmunasingha/react-native-graphql-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmunasingha%2Freact-native-graphql-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmunasingha%2Freact-native-graphql-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmunasingha%2Freact-native-graphql-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmunasingha%2Freact-native-graphql-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmunasingha","download_url":"https://codeload.github.com/dmunasingha/react-native-graphql-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmunasingha%2Freact-native-graphql-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264075991,"owners_count":23553558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apollo","express","graphql","nodejs","postgreesql","react-native"],"created_at":"2025-07-07T12:22:45.456Z","updated_at":"2025-12-30T22:14:43.528Z","avatar_url":"https://github.com/dmunasingha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧩 React Native GraphQL To-Do App\n\nA ✨ 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 🚀.\n\n---\n\n## 🔧 Tech Stack Toolbox 🧰\n\n### 🖼️ Frontend\n\n* ⚛️ React Native `0.79.4`\n* 🚀 Expo SDK `53`\n* 🔗 Apollo Client\n* 💅 NativeWind (TailwindCSS for RN)\n* 🎭 Reanimated for slick animations\n* 🧱 GlueStack UI (optional)\n\n### 🔙 Backend\n\n* 🟢 Node.js + Express\n* 📡 Apollo Server\n* 🔍 GraphQL (Schema + Resolvers)\n* 🔄 Prisma ORM\n* 🛢️ PostgreSQL\n\n---\n\n## 🚀 Getting Started\n\n### 🗂️ Folder Structure\n\n```\nreact-native-graphql-app/\n├── frontend/        # 📱 Mobile client\n│   ├── App.js\n│   ├── apollo/      # Apollo config\n│   ├── components/  # Reusable UI\n├── server/          # 🔧 Node GraphQL API\n│   ├── src/\n│   ├── prisma/      # DB schema \u0026 migrations\n└── README.md\n```\n\n---\n\n## 🔄 Quickstart Guide\n\n### 📥 1. Clone the Repo\n\n```bash\ngit clone https://github.com/dmunasingha/react-native-graphql-app.git\ncd react-native-graphql-app\n```\n\n### 🧠 2. Backend Setup\n\n```bash\ncd server\ncp .env.example .env\nnpm install\nnpx prisma migrate dev --name init\nnpm run dev\n```\n\n🔗 GraphQL Playground: `http://localhost:4000/graphql`\n\n### 📲 3. Frontend Setup\n\n```bash\ncd ../frontend\nnpm install\nnpm start\n```\n\n💡 Tip: Use Expo Go or an emulator for testing\n\n\u003e ⚠️ **Important:** Update Apollo client URI in `apollo/client.js`:\n\n```js\nuri: 'http://192.168.x.x:4000/graphql' // 👈 Use your LAN IP\n```\n\n---\n\n## 🎯 Features Checklist\n\n* ✅ Add / Toggle / Delete todos\n* 🔁 Auto refetch with Apollo\n* ✨ Beautiful styling with Tailwind\n* 📲 Cross-platform (iOS/Android)\n* 🔄 Prisma-backed DB\n* ⏱️ Coming Soon: Offline mode\n* 🌓 Coming Soon: Dark mode\n\n---\n\n## 📸 Screenshots\n\n| 📋 List View  | 🛠️ Mutation Example |\n| ------------- | -------------------- |\n| *Coming soon* | *Coming soon*        |\n\n---\n\n## 🧪 Dev Tips\n\n* 🧹 Clear Metro cache: `npx expo start -c`\n* 🧬 Test GraphQL at: `http://localhost:4000/graphql`\n* 🧑‍🔬 Use `npx prisma studio` to view data\n\n---\n\n## 🧨 Troubleshooting\n\n* ❌ **Network request failed:** Use your real IP, not `localhost`\n* ❌ **Unknown type \"ID\":** Match GraphQL types (use `Int!` if Prisma expects it)\n* ❌ **Metro error:** All `import` statements must be at the top level\n\n---\n\n## 📄 License\n\n🪪 Licensed under the **0BSD** license — totally open and flexible 💖\n\n---\n\n## 💡 Acknowledgements\n\n* 🚀 [Apollo GraphQL](https://www.apollographql.com/)\n* 🧬 [Prisma](https://www.prisma.io/)\n* 📦 [Expo](https://expo.dev/)\n* 🎨 [GlueStack UI](https://ui.gluestack.io/)\n\n---\n\n## 🙋‍♂️ Contact\n\nMade with ❤️ by Dunith Munasingha\n📧 munasingha.dunith@gmail.com(mailto:munasingha.dunith@gmail.com)\n🌐 https://www.linkedin.com/in/dunith-munasingha/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmunasingha%2Freact-native-graphql-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmunasingha%2Freact-native-graphql-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmunasingha%2Freact-native-graphql-app/lists"}