A simple and intuitive application to manage your personal finances and budgets, built with Vue.js and TypeScript.
- Budget Management: Create, view, edit, and delete budgets.
- Categorization: Assign categories to your budgets for better organization.
- Periodic Budgets: Set budgets on a weekly, monthly, or yearly basis.
- Interactive UI: A clean and responsive user interface for easy management.
- Vue.js: The progressive JavaScript framework.
- Vite: Next-generation frontend tooling.
- TypeScript: Superset of JavaScript that adds static types.
- Pinia: The intuitive store for Vue.js.
- Font Awesome: For icons.
This project requires a separate backend service. The frontend is configured to communicate with a backend API running at http://localhost:8000/api/v1.
- Node.js (v18.x or higher is recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/BashDee/finances.git cd finances -
Install the frontend dependencies:
npm install
or
yarn install
Before running the application, you need to set up the environment variables.
-
Create a
.envfile in the root of the project. -
Add the following variable, pointing to your backend API:
VITE_API_BASE_URL=http://localhost:8000/api/v1
To run the frontend development server:
npm run devThe application will be available at the local address provided by Vite (e.g., http://localhost:5173).
This frontend application is designed to work with a backend API. Make sure your backend server is running and accessible at the URL specified in your .env file. The required endpoints are:
GET /api/v1/budget/items: To fetch all budget items.POST /api/v1/budget: To create a new budget item.PUT /api/v1/budget/{id}: To update an existing budget item.DELETE /api/v1/budget/{id}: To delete a budget item.