sandeshnaroju / django-model-to-react-native-watermelon-schema

Python script to convert from Django models.py TO react native WatermelonDB schema.js,

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Python script to convert from Django models.py TO react native WatermelonDB schema.js,


Languages

Language:Python 100.0%