Expense Tracker Track Income Track Expense
Budget is a simple web app that provides a means for users to record their income and expenses. It helps you to keep track of your spending. Budget is written in Vanilla php.
- Authentication
- Create multiple accounts or books
- Record Income
- Record Expense
Languages
Vanilla PHPMYSQLHTMLCSSJS
Dependency Manager
composer
Go to root and run the commands
composer install
cd public
php -S localhost
Category Table must be filled with
Incomecategory andExpensecategory.
Sub category table must be filled with any sub category of your choice each sub category belonging to a catgory. For example, sub categoriesmovies,food,entertainmentcan belong to theexpensecategory on the other hand sub categoriessalary,bonus,giftcan belong to theincomecatgeory.
Below is the database structure, define `foreign constraint` where neccessary
| Table | Columns |
|---|---|
| users | user_id, first_name, last_name, email, password, date_registered |
| books | book_id, user_id, book_name, book_desc, book_date, category_id |
| transactions | transaction_id, user_id, book_id, category_id, type, sub_category_id, transaction_amount, transaction_desc, transaction_date |
| category | category_id, category_name, category_desc |
| category | sub_category_id, category_id, sub_category_name |
The only configuration needed is in the config/config.php file, open it and set your Database Configurations.
A budget.sql file is availabe at the root of this repo. Import this to your database to kickstart the app.