React-Native-Strapi
Connecting React Native application to Strapi APIs
Technologies
1- Redux, redux-thunk
2- Strapi
3- Axios
Preview
How to use?
Step 1:
Create .env file in the root of the ReactNativeStrapi folder and write the BASE_URL=http://localhost:1337 inside it.
Step 2:
cd inside the cms folder and run npm i && npm run develop
then go to http://localhost:1337 and login to strapi
Step 3:
cd inside ReactNativeStrapi folder and run npm i
For Android
run react-native run-android
For ios
run cd ios
then run pod install
then run cd ..
then run react-native run-ios inside the ReactNativeStrapi folder