Skip to content
/ EXT Public

Expiry Date Tracker Android 🍞🍎πŸ₯›

Notifications You must be signed in to change notification settings

randH7/EXT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EXT

Expiry Date Tracker Android 🍞🍎πŸ₯›

main

About

The purpose of this project is to reduce food waste by using a application (Expiry date tracker) that displays a list of foodstuffs you own together with their expiry dates.

Timeline

14 Mar 2022 – 27 Mar 2022

How to use it ?

β€’ Registering a Product Information

To save your food information, you can write name and quantity of the food. After that, set the expiration date.

Registering a product information

β€’ Registered Product List

As below image, you can see food name, quantity and expiration date.

Registered product list

β€’ Update and Delete

In Edit Food page, edit information and click "Update" button. Also, you can delet it by click "Delete" button.

Update and Delete

β€’ Notification for expiry

You can select the day before expiry foods, It will show red expiration date in List Food page.

Notification for expiry

About Design

β€’ Logo

I design this logo by canva.

LOGO

β€’ Main Color

I decided to use red and green, the red color naturally gives users pause due to its connotations. Green, on the other hand, symbolizes growth, safety, a success state and generally a positive outcome..
Then I used this site to find color pattern: https://pigment.shapefactory.co/

Colors

Development

β€’ Architecture

MVC is used in this app, And this is my directory.

directory

directory 2


β€’ Class diagram

Class diagram


β€’ Database

This is ER diagram of the project.

ER diagram

To store data, I used SQLite. As Field, I prepared 4 field: "id", "food_Name", "food_quantity", "expiry_date", "user_id".

This is the database structure.

    public void onCreate(SQLiteDatabase db) {
        String query =
                "CREATE TABLE " + TABLE_NAME + " ( " +
                        COLUMN_ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " +
                        COLUMN_NAME + " TEXT, " +
                        COLUMN_QUANTITY + " REAL, " +
                        COLUMN_EXPIRY_DATE + " TEXT, user_id INTEGER);  ";
        db.execSQL(query); 
    }

you cand find more in [DatabaseHelper].

About

Expiry Date Tracker Android 🍞🍎πŸ₯›

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages