0.0.3 • Published 5 years ago

react-native-sqlite-cli v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

react-native-sqlite-cli

CLI To Quickly Create React-Native Projects With SQLite

WARNING

Right now this only supports Android. I'll try to support IOS in a later release, but I don't have a Macbook to develop on.

Purpose

This is a project I created because I was annoyed at the work to create a React Native project with SQLite functionality enabled. If you want to help out, submit fixes, etc, feel free.

Usage

When the project is created, npm will use either default values or values you have set via the npm config set <key> <value> command. You may wish to customize your name, email, and license before using this tool:

yarn config set init-author-name "John Smith"
yarn config set init-author-email "smithjohn999@gmail.com"
yarn config set init-license "MIT"

Once you are ready to initialize a new project, you will need to create your project directory and initialize your project from there:

mkdir myproject
cd myproject
rnss-cli init

At this point, you will be asked several questions to configure the project.

Roadmap

0.0.1 - Init command creates react-native project and sets up all libraries. Version command works. 0.0.2 - Init command modifies the Java files to configure SQLite 0.0.3 - Create basic SQLite database and push it to the right location 0.0.4 - Remotely create github repo 0.0.5 - Redux tools? IOS support?