Step 1: Install NodeJS and CouchDB
Following instruction at NodeJS and CouchDB home page.
Step 2: Install nvm
nvm install node
Step 3: Creating new project
nvm use node
npm install -g create-react-native-app
create-react-native-app TodoApp
cd TodoApp
yarn add pouchdb-react-native native-base
Step 4: Ready to start
Visit https://expo.io for installing Expo to your device (iOS or Android)
yarn start
Capture QR code and happy coding!
Next step: Making layout.
Son Tran |