- Node v8.9.4
- Express
- React
- via
create-react-app
- via
- react-app-rewired
- React Native
- React Native Web
- React Router
- React Router Native
- Storybook
- NativeBase
- Sequelize w/ Postgres
- Redux
- Passport
- Expo
- Install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - Install:
brew install [email protected] - Start Postgres:
brew services start [email protected] - Add line to your
~/.bash_profile:echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile - Create default database:
createdb - Install pg Admin 4:
brew cask install pgadmin4 - Install ngrok:
brew csk install ngrok - Install React Native Debugger:
brew cask install react-native-debugger
- Install Chocolately
- Open PowerShell as administrator by right clicking icon
- run
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Install postgresql:
choco install postgresql -y - Install pg Admin 4 :
choco install pgadmin4 -y - Install ngrok:
choco install ngrok -y - Install React Native Debugger
- Create default database:
createdb - TODO: Android Instructions.
- install dependencies:
yarn install - create local env file:
cp .env.example .env - create database
yarn sequelize db:create - run migrations
yarn sequelize db:migrate - seed database
yarn sequelize db:seed:all - Ask for Facebook API keys for
.env
yarn dev- it'll give some warning about an untrusted certificate, just click advanced and proceed
- serve web storybook:
yarn storybook
yarn apiin one terminal windowngrok http 8080in another terminal window- 🔥 Fill in https ngrok url for
API_SERVERin.env🔥 yarn native-startin another terminal window- Open native app on ios simulator:
yarn ios- Or Send to your iPhone
npx expo-cli send -s <your-phone-number-or-email>
- Or Send to your iPhone
- Note: Do not use the "Open in iOS Simulator" button in the Expo Debugger popup.
- 🔥 Fill in
STORYBOOK=truein.env🔥 - Serve native storybook:
yarn native-storybook - Open native app on ios simulator:
yarn ios- Or Send to your iPhone
npx expo-cli send -s <your-phone-number-or-email>
- Or Send to your iPhone