A simple expense tracker built as a single-page application (SPA) using Vue 3 with the Composition API. This application allows users to add and delete expenses/income and view the total expenditure. Data persistence is handled using localStorage, and Vue Toastification is used for validation notifications.
-
Add Expense/Income: Users can add new expenses or income entries.
-
Delete Expense/Income: Users can remove existing expenses or income entries.
-
Total Expenditure: Users can view the total expenditure calculated from the added entries.
-
Data Persistence: All data is stored in the browser's localStorage, ensuring data is retained across sessions.
-
Validation Notifications: Vue Toastification is used to provide feedback to users when validation errors occur.
Make sure you have the following installed on your system:
- Node.js (v14.x or higher)
- npm (v6.x or higher) or yarn (v1.x or higher)
-
Clone the repository:
git clone https://github.com/Roger9876/simple-expense-tracker.git cd simple-expense-tracker
-
Install dependencies:
npm install
-
Compiles and hot-reloads for development
npm run serve
- Open the application in your browser (typically at
http://localhost:8080
). - Use the form to add new expense/income entries.
- View and manage your entries in the list.
- Observe the total expenditure update automatically as you add or delete entries.
- Vue 3: The Progressive JavaScript Framework.
- Composition API: A set of additive, function-based APIs that allow flexible composition of component logic.
- Vue Toastification: A Vue.js notification library used for validation notifications.
- localStorage: Web Storage API used for data persistence.
For any queries, issues, or suggestions, please contact:
- Name: Raviraj Khopade
- Email: [email protected]
Happy Tracking!