Giter Site home page Giter Site logo

ilgarhabibov / lists Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidprecopia/lists

0.0 0.0 0.0 2.74 MB

A multi-module project that utilizes Google's Firebase to keep lists synchronized across different devices.

License: Apache License 2.0

Kotlin 100.00%

lists's Introduction

Lists

CI

Keeps lists synchronized across different devices.

An APK is available.

Technical Features

  • Firebase's Cloud Firestore to synchronize between Android devices.
    • Offline on-device storage.
    • Cloud Firestore Security Rules written from-scratch to provide user, data, and access validation.
    • Cloud Functions, written in JavaScript, automatically and remotely delete the contents of a list when a list is deleted by the user.
  • Firebase Authentication to authenticate users.
    • Users can authenticate via their Google account, a phone number (verification via SMS), or email and password (with email verification).
    • User can delete their account from within the app. A user's data will be automatically deleted when they do so.
  • MVP-like architecture with dependency injection via Dagger2.
    • View: Fragments set-up as Passive Views. I use a single Activity architecture with Jetpacks' Navigation library.
    • Logic: Similar to a presenter. Extends Jetpacks' ViewModel to store and restore data to the View in a lifecycle conscious way.
    • ViewModel: A cache for the View. Additionally, it retrieves user-facing messages, which requires holding a reference to the Android framework.
    • Repository: It hides the implementation details from the front-end. There are separate repositories for data storage and the user management.
  • Multi-module
    • App module
      • Front-end.
      • Logic classes and their respective Views and ViewModels.
      • Dagger 2.
    • Domain module
      • Contains the app's solution its problem domain.
      • The Interface that the repository will implement and the front-end will use to talk to the repository. Only RxJava observables are returned, Flowables and Completables specifically.
      • Data models for the View.
    • Data module
      • Implementation specific details for how data is stored and handled.
      • Repositories for data storage and the user management.
      • Data models for the back-end.
  • Multithreading with RxJava 2.
  • Firebase Crashlytics for crash reporting.
  • Unit testing with JUnit 5, AssertJ, and MockK.
  • Originally written in Java, completely converted to Kotlin.
    • When the app was written in Java, JUnit 4 and Mockito was used for unit testing.
  • CI with GitHub Actions.

Features

  • Automatically backs-up all of your lists to off-site.
  • Synchronized all of your lists between different devices.
    • Requires the creation of an account (supported methods below).
  • All lists are stored on your device for offline access.
  • Night mode
  • Drag to rearrange
  • Supports keyboard navigation.
  • Available authentication methods:
    • Google account
    • Email
    • Phone number

Screenshots

Sign-in

Main screen

Inside of a list

Preferences

Night mode

Resources

Icons

License

Copyright (c) 2018-present, David M Precopia.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

lists's People

Contributors

davidprecopia 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.