Skip to content

tanmayvaij/rntodo

Repository files navigation

βœ… React Native To-Do App

A minimal and efficient To-Do app built using React Native (TypeScript) with support for:

  • πŸ“‹ Adding, updating, and deleting tasks
  • πŸ” Firebase authentication with Google sign-in
  • ☁️ Realtime Firestore database for storing tasks
  • πŸ’Ύ Local storage fallback to persist tasks offline

πŸš€ Features

  • ✍️ Add new tasks
  • πŸ” Update existing tasks
  • ❌ Delete tasks
  • πŸ”’ Google Sign-In using Firebase Authentication
  • ☁️ Sync tasks to Firebase Firestore
  • πŸ’‘ Uses local storage as a backup mechanism

πŸ› οΈ Tech Stack

Technology Purpose
React Native Cross-platform mobile development
TypeScript Static typing for improved DX
Firebase Auth Google Sign-In for authentication
Firestore DB Store and sync tasks in the cloud
AsyncStorage Persist tasks locally
React Navigation Navigation between screens

πŸ“¦ Installation

1. Clone the Repo

git clone https://github.com/tanmayvaij/rntodo.git
cd rntodo

2. Install Dependencies

npm install
# or
yarn install

3. Run the App

npx react-native run-android
# or for iOS
npx react-native run-ios

Make sure Metro is running:

npx react-native start

πŸ” Authentication

  • Google Sign-In is handled via Firebase Auth.
  • On successful login, user session is stored and tasks are fetched from Firestore.

🧠 Local Storage

  • Tasks are cached using AsyncStorage for offline support and faster load times.
  • Syncs with Firestore on login and task changes.

About

A minimal and efficient To-Do app built using React Native (TypeScript) with support for: πŸ“‹ Adding, updating, and deleting tasks πŸ” Firebase authentication with Google sign-in ☁️ Realtime Firestore database for storing tasks πŸ’Ύ Local storage fallback to persist tasks offline

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors