Skip to content

πŸ“Š A Minimal Expense Tracker App built to demonstrate the use of modern android architecture component with MVVM Architecture

License

Notifications You must be signed in to change notification settings

Spikeysanju/Expenso

Repository files navigation

GitHub Cards Preview

Expenso πŸ“Š

A Simple Expense Tracker App πŸ“± built to demonstrate the use of modern android architecture component with MVVM Architecture πŸ—. Made with love ❀️ by Spikeysanju


Try latest Expenso app apk from below πŸ‘‡

Expenso


UI Design 🎨

Click to View Expenso app Design from below πŸ‘‡

Expenso


Day Mode 🌞

Dashboard All Income All Expense Details Add Transaction

We Support Dark Mode Too 🌚

Dashboard All Income All Expense Details Add Transaction

Built With πŸ› 

  • Kotlin - First class and official programming language for Android development.
  • Coroutines - For asynchronous and more..
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • Stateflow - StateFlow is a state-holder observable flow that emits the current and new state updates to its collectors.
    • Flow - A flow is an asynchronous version of a Sequence, a type of collection whose values are lazily produced.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • Room - SQLite object mapping library.
    • Jetpack Navigation - Navigation refers to the interactions that allow users to navigate across, into, and back out from the different pieces of content within your app
    • DataStore - Jetpack DataStore is a data storage solution that allows you to store key-value pairs or typed objects with protocol buffers. DataStore uses Kotlin coroutines and Flow to store data asynchronously, consistently, and transactionally.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.
  • Figma - Figma is a vector graphics editor and prototyping tool which is primarily web-based.

Package Structure πŸ“¦

dev.spikeysanju.expenso # Root Package
β”œβ”€β”€ di                  # Hilt DI Modules 
β”œβ”€β”€ data                # For data handling.
β”‚   β”œβ”€β”€ local           # Local Persistence Database. Room (SQLite) database
|   β”‚   β”œβ”€β”€ dao         # Data Access Object for Room   
|   |   |── database    # Database Instance
|
β”œβ”€β”€ model               # Model classes [Transaction]
|
|-- repo                # Used to handle all data operations
|
β”œβ”€β”€ view                # Activity/Fragment View layer
β”‚   β”œβ”€β”€ main            # Main root folder
|   β”‚   β”œβ”€β”€ main        # Main Activity for RecyclerView
|   β”‚   └── viewmodel   # Transaction ViewModel
|   β”‚   β”œβ”€β”€ adapter     # Adapter for RecyclerView
β”‚   β”œβ”€β”€ Dashboard       # Dashboard root folder
|   |   |__ dashboard   # Dashboard 
β”‚   β”œβ”€β”€ Add             # Add Transaction root folder
|   |   |__ add         # Add Transaction 
β”‚   β”œβ”€β”€ Edit            # Edit Transaction root folder
|   |   |__ edit        # Edit Transaction
β”‚   β”œβ”€β”€ Details         # Add Transaction root folder
|   |   |__ details     # Transaction Details
β”‚   β”œβ”€β”€ About           # About root folder
|   |   |__ about       # About 
β”‚   β”œβ”€β”€ Dialog          # All Dialogs root folder
|   |   |__ dialog      # Error Dialog 
β”œβ”€β”€ utils               # All extension functions

Architecture πŸ—Ό

This app uses MVVM (Model View View-Model) architecture.

Build-tool 🧰

You need to have Android Studio Beta 3 or above to build this project.
Beta-studio


Ohh You want iOS App Too? πŸ“±

Well, we've iOS version here, Checkout the iOS version of this app Expenso


Contribute 🀝

If you want to contribute to this app, you're always welcome! See Contributing Guidelines.


Contact πŸ“©

Have an project? DM us at πŸ‘‡

Drop a mail to:- [email protected]


Donation πŸ’°

If this project help you reduce time to develop, you can give me a cup of coffee :)

Buy Me A Coffee


Credits πŸ€—


License πŸ”–

    Apache 2.0 License


    Copyright 2021 Spikey sanju

    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.