cfontenay / SQLiteSimpleCRUDExample

SQLite simple CRUD, apply MVC pattern in React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLiteSimpleCRUDExample

SQLite simple CRUD, apply MVC pattern in React Native

***********YOUTUBE VIDEO: https://www.youtube.com/watch?v=ARHG0uOBOQQ

*****STEPS
--------------SQLite simple CRUD, apply pattern MVC---------------- Example about CRUD Hero

  • STEP 1: Install neccessary modules: 'react-navigation', 'react-native-gesture-handler', 'events', 'react-native-vector-icons', 'react-native-sqlite-storage':
  • npm install --save react-navigation react-native-gesture-handler events react-native-vector-icons react-native-sqlite-storage
  • react-native link
  • Copy folder 'models', 'controllers', 'views', 'navigators' and file 'App.js'
  • STEP 4: Edit controller HeroController:
  • Create hero
  • Update hero
  • Delete hero

About

SQLite simple CRUD, apply MVC pattern in React Native


Languages

Language:JavaScript 72.3%Language:Objective-C 14.8%Language:Java 6.4%Language:Python 6.4%