- Project created in NLW Pocket, simulates search for nearby places with coupons
1 - Run API
# select node version
nvm use
# open api folder
cd api/nlw-pocket-mobile-api-main
# install dependecies
npm install
# run api
npm start
2 - Run Mobile App
# select node version
nvm use
# open mobile folder
cd mobile
# create a .env file with key for api
EXPO_PUBLIC_API_URL=http://YOUR_IP_MACHINE:3333
# install dependecies
yarn
# run expo
yarn start
# download expo go
https://expo.dev/go
# scan the QR Code with your device or open it in your simulator