{"id":13406663,"url":"https://github.com/benawad/fullstack-graphql-airbnb-clone","last_synced_at":"2025-04-08T09:09:49.073Z","repository":{"id":37335908,"uuid":"136923813","full_name":"benawad/fullstack-graphql-airbnb-clone","owner":"benawad","description":"A Fullstack GraphQL Airbnb Clone with React and React Native","archived":false,"fork":false,"pushed_at":"2023-04-15T05:08:52.000Z","size":804,"stargazers_count":1689,"open_issues_count":23,"forks_count":448,"subscribers_count":69,"default_branch":"master","last_synced_at":"2025-04-01T08:30:53.813Z","etag":null,"topics":["graphql","nodejs","react-native","reactjs","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benawad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-11T12:33:46.000Z","updated_at":"2025-03-29T01:45:11.000Z","dependencies_parsed_at":"2023-10-20T18:21:38.335Z","dependency_job_id":null,"html_url":"https://github.com/benawad/fullstack-graphql-airbnb-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ffullstack-graphql-airbnb-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ffullstack-graphql-airbnb-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ffullstack-graphql-airbnb-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ffullstack-graphql-airbnb-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benawad","download_url":"https://codeload.github.com/benawad/fullstack-graphql-airbnb-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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":["graphql","nodejs","react-native","reactjs","typescript"],"created_at":"2024-07-30T19:02:35.962Z","updated_at":"2025-04-08T09:09:49.041Z","avatar_url":"https://github.com/benawad.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# fullstack-graphql-airbnb-clone\n\nA Fullstack GraphQL Airbnb Clone with React and React Native.\n\n- Branches are in the order they were coded.\n- Watch how this was made: https://www.youtube.com/playlist?list=PLN3n1USn4xlnfJIQBa6bBjjiECnk6zL6s\n- This builds off the GraphQL Typescript Server I made: https://github.com/benawad/graphql-ts-server-boilerplate.\n- You can see the YouTube Playlist for how that was made here: https://www.youtube.com/playlist?list=PLN3n1USn4xlky9uj6wOhfsPez7KZOqm2V\n- Join the Discord: https://discord.gg/Vehs99V\n\n## Packages\n\nThis project is made up of 5 packages that share code using Yarn Workspaces.\n\n- web (React.js website)\n- app (React Native app)\n- server (GraphQL Typescript server)\n- common (Code shared between web, app, and server)\n- controller (Components shared between web and app)\n\n## Installation\n\n1. Clone project\n\n```\ngit clone https://github.com/benawad/fullstack-graphql-airbnb-clone.git\n```\n\n2. cd into folder\n\n```\ncd fullstack-graphql-airbnb-clone\n```\n\n3. Download dependencies\n\n```\nyarn\n```\n\n4. Start PostgreSQL server\n5. Create database called `graphql-ts-server-boilerplate`\n\n```\ncreatedb graphql-ts-server-boilerplate\n```\n\n6. [Add a user](https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e) with the username `postgres` and and no password. (You can change what these values are in the [ormconfig.json](https://github.com/benawad/graphql-ts-server-boilerplate/blob/master/ormconfig.json))\n\n7. Connect to the database with `psql` and add the uuid extension:\n\n```\nCREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";\n``` \n\n8. Install and start Redis\n\n9. In `packages/server` create a file called `.env` and add the following line inside: `FRONTEND_HOST=http://localhost:3000`\n\n10. Run `yarn build` in `packages/common`\n\n11. Run `yarn build` in `packages/controller`\n\n12. Get Google Maps API key and put it here https://github.com/benawad/fullstack-graphql-airbnb-clone/blob/master/packages/web/public/index.html#L14 Videos doing that: https://youtu.be/-QQnzDVcTCo and https://youtu.be/xLlIgokKiLc\n\n\n\n## Usage\n\n1. Start server `yarn start` in `packages/server`\n\n2. Now you can run `yarn start` in `packages/web` or `packages/app` to start the website or app.\n\n3. How to get credentials working in graphql playground: https://youtu.be/oM-EmNdhwI4?t=8m39s\n\n## Deploy\n\n### Server\n\n1. https://www.youtube.com/watch?v=qQAozc1MkdU\n2. https://www.youtube.com/watch?v=0t-rE5wUP-E\n\n### Website\n\n1. https://www.youtube.com/watch?v=FiU3SHEaFwk\n2. https://www.youtube.com/watch?v=vPu1sfuYFzw\n3. https://www.youtube.com/watch?v=Ry6Zobb-kaw\n\n## Features\n\n1. Website register/login\n2. Deploy backend and frontend\n3. App register/login\n4. Website and App forgot password\n5. Website and App create listing\n6. Website and App view listings\n7. logout\n8. Website chat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawad%2Ffullstack-graphql-airbnb-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenawad%2Ffullstack-graphql-airbnb-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawad%2Ffullstack-graphql-airbnb-clone/lists"}