Socket
Book a DemoInstallSign in
Socket

@sqliteai/todoapp

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sqliteai/todoapp

An Expo template for building apps with the SQLite CloudSync extension

1.0.3
latest
Source
npmnpm
Version published
Maintainers
4
Created
Source

Expo CloudSync Example

A simple Expo example demonstrating SQLite synchronization with CloudSync. Build cross-platform apps that sync data seamlessly across devices.

🚀 Quick Start

1. Clone the template

Create a new project using this template:

npx create-expo-app MyApp --template @sqliteai/todoapp
cd MyApp

2. Database Setup

  • Create database in SQLite Cloud Dashboard.
  • Execute the exact schema from to-do-app.sql.
  • Enable OffSync for all tables on the remote database from the SQLite Cloud Dashboard -> Databases.

3. Environment Configuration

Rename the .env.example into .env and fill with your values.

⚠️ SECURITY WARNING: This example puts database connection strings directly in .env files for demonstration purposes only. Do not use this pattern in production.

Why this is unsafe:

  • Connection strings contain sensitive credentials
  • Client-side apps expose all environment variables to users
  • Anyone can inspect your app and extract database credentials

For production apps:

  • Use the secure sport-tracker-app pattern with authentication tokens and row-level security
  • Never embed database credentials in client applications

4. Build and run the App

npx expo prebuild # run once
npm run ios # or android

✨ Features

  • Add Tasks - Create new tasks with titles and optional tags.
  • Edit Task Status - Update task status when completed.
  • Delete Tasks - Remove tasks from your list.
  • Dropdown Menu - Select categories for tasks from a predefined list.
  • Cross-Platform - Works on iOS and Android
  • Offline Support - Works offline, syncs when connection returns

Keywords

expo-template

FAQs

Package last updated on 28 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.