The Budget Buddy Backend API is a robust and scalable Spring Boot application that powers the Budget Buddy app. It provides endpoints for user authentication, account management, category management, and transaction tracking. This API is hosted and can be accessed via the provided base URL.
The API is hosted at:
👉 https://wallet-api-oi3v.onrender.com
- Register a User: Create a new user account.
- Login: Authenticate and receive a JWT token for authorized requests.
- Create, delete, and retrieve accounts.
- Top up accounts and record expenses.
- Create, update, delete, and retrieve expense categories.
- Retrieve paginated transactions for a specific account.
- Retrieve all transactions for analytics and visualization.
- GET
/
: Check if the API is running.
- POST
/api/auth/sign-up
: Register a new user. - POST
/api/auth/login
: Log in a user and receive a JWT token.
- POST
/api/accounts
: Create a new account. - DELETE
/api/accounts/{account_id}
: Delete an account. - GET
/api/accounts
: Get all accounts for the authenticated user. - GET
/api/accounts/{account_id}
: Get a specific account. - POST
/api/accounts/{account_id}/top-up
: Top up an account. - POST
/api/accounts/{account_id}/spend
: Record an expense.
- POST
/api/categories
: Create a new category. - GET
/api/categories
: Get all categories for the authenticated user. - DELETE
/api/categories/{category_id}
: Delete a category. - PUT
/api/categories/{category_id}
: Update a category.
- GET
/api/transactions/{account_id}
: Get paginated transactions for a specific account. - GET
/api/transactions/all
: Get all transactions for the authenticated user (used for analytics and visualization).
-
Backend:
- Spring Boot (Java framework)
- Spring Security (for authentication and authorization)
- JWT (JSON Web Tokens for secure authentication)
- Hibernate (for ORM and database management)
- PostgreSQL (database)
- Maven (for dependency management)
-
Hosting:
- Render (for hosting the backend API)