A modern expense tracking application built with Laravel 12, Livewire, and Tailwind CSS. Track expenses, manage budgets, and get insights into spending habits.
# Using Homebrew
brew install postgresql@15
brew services start postgresql@15
sudo apt update
sudo apt install postgresql postgresql-contrib
sudo systemctl start postgresql
Login to PostgreSQL:
psql -U postgres
Create database and user: ```sql CREATE DATABASE your_database_name; \c your_database_name
CREATE USER your_database_username WITH PASSWORD 'your_database_password'; GRANT ALL PRIVILEGES ON DATABASE your_database_name TO your_database_username;
-- Grant Schema Access GRANT USAGE, CREATE ON SCHEMA public TO your_database_username; ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO your_database_username; ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON SEQUENCES TO your_database_username;
## ๐ Installation
1. Clone the repository:
```bash
git clone https://github.com/IMDevv/Expense-tracker-app.git
cd expense-tracker-app
Install dependencies:
composer install
npm install
Configure environment:
cp .env.example .env
php artisan key:generate
Update .env
with database configuration:
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=expense_tracker
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password
Configure email settings in .env
:
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=your_app_password
MAIL_ENCRYPTION=tls
[email protected]
Set up the application:
php artisan migrate
php artisan db:seed
php artisan storage:link
Start the development server:
npm run dev
php artisan serve
To enable email notifications:
Run the test suite:
php artisan test
After running the database seeds, you can use these default credentials to log in:
Email: [email protected]
Password: ringier@123$
Note: Google OAuth is enabled as well for login and registration. Simply add your Google client ID and secret to the
.env
file.