This commit introduces new transaction routes for handling various transaction-related operations. It also includes updates to the `config.py` file to support these new features.
The following files were modified:
- `README.md`: Updated documentation to clarify .env variables and their purposes
- `To-Do.md`: Updated task meaningless
- `config.py`: Added COLLECT_COOLDOWN and TAX_ACCOUNT_BID configurations.
Main Thing:
- `interbend/routes/transaction_routes.py`:
Added boilerplate transaction to handle all transfers and separated business transfers with tax application.
/transfer for personal transfers
/transfer-business for business transfers with tax deduction
TODO: add route to change tax rate and add non hardcoded tax rate.
Type 6 and 7 are reserved for future use. currently implemented are 0 and 1.
1.2 KiB
1.2 KiB
Project To-Do and Feature Ideas
This file tracks potential new features and improvements for the Interbend banking system.
Feature Suggestions
-
Automated Payroll System:
- Description: Instead of requiring users to manually call the
/collectendpoint, a scheduled script could run periodically (e.g., every 24 hours) to automatically distribute salaries to all eligible users. - Benefits: Improves user experience, ensures consistent pay, and reduces repeated API calls to the server.
- Important: Due to the concept of this whole system it needs to be considered to only pay users who are attend. Bad Idea.
- Alternative: Implement system to make sure you can only collect if the host is online. Make admin route to open server (set global bool)
- Description: Instead of requiring users to manually call the
-
User Transaction History:
-
Description: Create a new API endpoint (e.g.,
GET /transactions) that allows an authenticated user to retrieve a paginated list of their own transaction history. -
Benefits: Provides users with transparency and a way to track their finances, which is a core feature of any banking application.
-
FINISHED: PLEASE CHECK IF WORKING!
-
Frontend?
idfk?