This project is not recommend for learning anymore. Because I made this before React Native 0.60.x, for new best practice please check github.com/libscode/CovidLibs
This is Simple CRUD App including React Navigation, Nativebase and Axios. You can create, update, and delete data with this app. For the backend I'm using expressjs and mysql as database.
[][license-url] [![Stars][stars-image]][stars-url] [![js-standard-style][js-standard]][js-standard-url] [![React Native][package-react-native]][react-native-url]
- JDK 1.8
- Node >= 8.*
- react-native-cli
- mysql
column | type |
---|---|
id | int(11) PRIMARY AI |
name | varchar(200) |
varchar(200) | |
phone | varchar(200) |
open terminal and change directory to your desired folder, then:
$ git clone https://github.com/DeVoresyah/RN-Crud YourAppName
$ cd YourAppName
$ npm install
Make sure you server and mysql already running, then run the app
$ react-native run-android
or
$ react-native run-ios
You need change some code in these files:
/src/Contact/components/ContentSection.js
/src/Contact/components/FormAdd.js
/src/Contact/components/FormUpdate.js
You can find me on social media xD
and also Fiverr
The code is available at GitHub under the MIT license.