Giter Club home page Giter Club logo

sdevprem / tasksprint Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 334 KB

A simple todo app with date pagination backed by firebase, built in compose and follows MVVM architecture, UDF pattern and Single Activity architecture

Kotlin 95.27% Java 4.73%
android firebase-auth firebase-phone-authentication firestore-database hilt-android hilt-dependency-injection jetpack-compose jetpack-navigation kotlin coroutines-android kotlin-flow mvvm-architecture viewmodel-pattern

tasksprint's Introduction

TaskSprint

A simple todo app with date pagination backed by firebase. It is built in compose and follows MVVM architecture, UDF pattern and Single Activity architecture. It uses firebase phone authentication.

Feature

  1. Firebase Phone Authentication in a clean architecture.
  2. Add/Update/Delete Task using firebase firestore.
  3. Pagination: Load task according to month.

Screenshots

ss_screen_auth ss_screen_home ss_screen_edit_task

Build with

Kotlin: As the programming language.
Jetpack Compose: To build UI.
Jetpack Navigation: To navigate between screens.
Firebase Firestore: As the database.
Firebase Phone Auth: To authenticate user using phone number.
Timber: For Logging.
maxkeppeler sheets : To create date picker dialog.

Using instruction

  1. Enter your phone number. It will open browser for captcha verification. After that, a verification will be sent to you phone number. Enter it and log in.
  2. Add new task using + button and start using the app.

Installation

  1. Create a firebase project.
  2. Extract SHA1 and SHA256 and add it in the firebase project SHA certificate fingerprints.
  3. Clone and open this project in AndroidStudio.
  4. Connect this project with the firebase project that was created in step 1.
  5. Create index for fields userId by Ascending order and dueDate by Descending order in tasks collection in order to enable filters.

Architecture

This app follows MVVM architecture, Unidirectional data flow (UDF) pattern and Single Activity architecture.

Folder Structure

  • core: Handles the backend of the app like authentication and database related work.
  • ui: Handles the user interface components.
  • common: Includes utility classes and helper functions used across the app.
  • di : Contains hilt modules.

tasksprint's People

Contributors

sdevprem avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.