Spend Sync is an expense tracking app built with Laravel and Vue.js. It allows users to track their expenses and income, and provides a dashboard to visualize their spending habits. Inspired by a project by [Brad Traversy] (https://www.youtube.com/watch?v=hNPwdOZ3qFU). I decided to rebuild it with Laravel as the backend and Vue.js for the frontend.
-
Expense Tracking: Users can track their expenses and income by adding transactions to the app.
-
Dashboard: Users can view their spending habits on a dashboard.
-
Categories: Users can categorize their transactions (income and expenses).
-
Laravel: Laravel is a popular PHP framework that provides an elegant syntax and tools for building web applications.
-
Vue.js: Vue.js is a popular JavaScript framework for building user interfaces.
-
Pinia: Pinia is a state management library for Vue.js.
-
Bootstrap: A simple but powerful frontend toolkit providing already built components on the fly.
-
MySQL: MySQL is a popular relational database management system used for storing data.
To set up the PostHub project, follow these steps:
-
Clone the Repository: Start by cloning the project repository from GitHub using the following command:
https:/irqd/livewire-datatable.git
-
Install Dependencies: Next, navigate to the project directories and install the project dependencies using the following command:
cd backend
composer install
cd frontend
npm install
-
Set Up the Environment Variables: Next, copy the
.env.example
file to.env
and set up the environment variables for the backend.cp .env.example .env
php artisan key:generate
-
Run the Migrations: Next, run the database migrations to create the required tables in the database.
php artisan migrate --seed
-
Run the Development Server: Finally, start the development server to run the project.
cd backend php artisan serve
cd frontend npm run dev
-
Visit the App: Visit the app in your browser by navigating to
http://localhost:3000
.