https://github.com/sandeshnaroju/django-model-to-react-native-watermelon-schema
Python script to convert from Django models.py TO react native WatermelonDB schema.js,
https://github.com/sandeshnaroju/django-model-to-react-native-watermelon-schema
django django-models react-native watermelondb
Last synced: 12 months ago
JSON representation
Python script to convert from Django models.py TO react native WatermelonDB schema.js,
- Host: GitHub
- URL: https://github.com/sandeshnaroju/django-model-to-react-native-watermelon-schema
- Owner: sandeshnaroju
- Created: 2020-05-10T10:24:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-10T12:01:11.000Z (about 6 years ago)
- Last Synced: 2025-04-13T16:46:05.236Z (about 1 year ago)
- Topics: django, django-models, react-native, watermelondb
- Language: Python
- Size: 6.84 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-model-to-react-native-watermelon-schema
Python script to convert from Django models.py TO react native WatermelonDB schema.js
### WHAT IS THIS ? ###
This is simple python script that converts Django models.py to WatermelonDB schema.js for react native local storage. This makes your life easier if you are building Mobile App that has to sync data between server and local database. You can use this script to generate similar tableSchemas to your server tables.
### USAGE ###
`$ python dwconverter.py models.py`
That above command will generate `schema.js` to use in `react native applications` that use `watermelondb` as db framework.