fullstack-graphql-airbnb-clone | A Fullstack GraphQL Airbnb Clone with React and React Native | Frontend Framework library
kandi X-RAY | fullstack-graphql-airbnb-clone Summary
kandi X-RAY | fullstack-graphql-airbnb-clone Summary
A Fullstack GraphQL Airbnb Clone with React and React Native
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fullstack-graphql-airbnb-clone
fullstack-graphql-airbnb-clone Key Features
fullstack-graphql-airbnb-clone Examples and Code Snippets
Community Discussions
Trending Discussions on fullstack-graphql-airbnb-clone
QUESTION
I have this project, was created with the latest version of expo and typescript, (I chose it from the cli).
Everything works well, also I added it with the expo-yarn-workspaces package, but I have this error when I try to scan the QR code with my android phone:
In packages/app
you can find the react-native code...
I haven't added any logic to this app, it's only the default template that expo-cli creates.
...ANSWER
Answered 2019-Jun-26 at 21:14This problem was a serious headache. Fortunately, I think I've got the fix for you.
Check the node_modules
folder of your mobile application and ensure expo
and react-native
are both symlinked to the workspace-root's versions of these packages. In my case, the mobile application had a second copy of react-native
rather than being symlinked, which was the cause of my trouble.
Edit - More clarity:
TL:DR If your react-native
and expo
folders inside of your mobile app's node_modules
folder are not symlinked, delete them and rerun the expo-yarn-workspaces postinstall
from the folder for your mobile app, NOT from the project root. These modules should only appear in the top level node_modules
folder.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fullstack-graphql-airbnb-clone
Clone project
cd into folder
Download dependencies
Start PostgreSQL server
Create database called graphql-ts-server-boilerplate
Add a user with the username postgres and and no password. (You can change what these values are in the ormconfig.json)
Connect to the database with psql and add the uuid extension:
Install and start Redis
In packages/server create a file called .env and add the following line inside: FRONTEND_HOST=http://localhost:3000
Run yarn build in packages/common
Run yarn build in packages/controller
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
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page