{"id":29182117,"url":"https://github.com/suryapratap64/assignment-native","last_synced_at":"2026-05-01T08:31:33.799Z","repository":{"id":302315542,"uuid":"1011993890","full_name":"suryapratap64/Assignment-native","owner":"suryapratap64","description":"Assignment-React-Native","archived":false,"fork":false,"pushed_at":"2025-07-01T17:10:39.000Z","size":32787,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T18:23:59.005Z","etag":null,"topics":["appolo-client","appolo-server","jsonwebtoken","native","postgresql","prisma","socket-io","sql","typescript","zustand","zustand-state-management"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/suryapratap64.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-07-01T16:35:23.000Z","updated_at":"2025-07-01T17:31:36.000Z","dependencies_parsed_at":"2025-07-01T18:36:17.443Z","dependency_job_id":null,"html_url":"https://github.com/suryapratap64/Assignment-native","commit_stats":null,"previous_names":["suryapratap64/assignment-native"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suryapratap64/Assignment-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryapratap64%2FAssignment-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryapratap64%2FAssignment-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryapratap64%2FAssignment-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryapratap64%2FAssignment-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suryapratap64","download_url":"https://codeload.github.com/suryapratap64/Assignment-native/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryapratap64%2FAssignment-native/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263029215,"owners_count":23402354,"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":["appolo-client","appolo-server","jsonwebtoken","native","postgresql","prisma","socket-io","sql","typescript","zustand","zustand-state-management"],"created_at":"2025-07-01T20:02:07.769Z","updated_at":"2026-05-01T08:31:33.767Z","avatar_url":"https://github.com/suryapratap64.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"1-\u003ebackend\nCreate a backend folder to organize server-side code.\n\nInitialize npm project with npm init -y.\n\nInstall TypeScript and dev tools (typescript, ts-node-dev, @types/node).\n\nInstall runtime libraries:\n\nExpress for HTTP server\n\nApollo Server Express to handle GraphQL APIs\n\nGraphQL as the query language\n\nPrisma ORM and @prisma/client to connect to PostgreSQL\n\nSocket.IO for real-time updates\n\njsonwebtoken and bcrypt for authentication and password hashing\n\nInstall type definitions for TypeScript compatibility (@types/jsonwebtoken, @types/bcrypt, @types/express).\n\nUse Prisma to define database models like:\n\nUser (stores user data)\n\nEvent (stores event details and status)\n\nCreate resolvers to manage:\n\nAdding new users\n\nLogging in users\n\nAdding/listing/updating events\n\nUse Socket.IO to send real-time notifications when:\n\nNew events are added\n\nEvent status changes\n\nUse Apollo Server with Express to expose GraphQL APIs.\n\nManage database connections and migrations with Prisma CLI commands\n\n\n//frontend \n\nCreate a new React Native app using Expo for fast development.\n\nInstall libraries:\n\n@apollo/client and graphql to interact with the backend GraphQL APIs\n\nZustand for lightweight global state management (e.g., store auth token)\n\nBuild three main screens:\n\nLogin Screen: user enters email and password to get JWT token\n\nEvent List Screen: displays events fetched from backend\n\nEvent Detail Screen: shows detailed info about a selected event\n\nUse Apollo Client to send queries and mutations to the backend.\n\nStore the authentication token securely using Zustand.\n\nListen for real-time updates (e.g., event status change) using Socket.IO.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryapratap64%2Fassignment-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuryapratap64%2Fassignment-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryapratap64%2Fassignment-native/lists"}