Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction Backend Pt.2 #69

Open
DiegolMarques opened this issue Nov 14, 2024 · 0 comments
Open

Transaction Backend Pt.2 #69

DiegolMarques opened this issue Nov 14, 2024 · 0 comments
Assignees

Comments

@DiegolMarques
Copy link
Collaborator

DiegolMarques commented Nov 14, 2024

Branch name: transaction-create-delete

Task at Hand

  1. Create and implement in controllers/transactions.ts:
    • createTransaction with proper validation
    • deleteTransaction with cleanup
  2. Implement corresponding routes in routes/transactions.ts:
    • POST /transactions
    • DELETE /transactions/:id

Testing

Test all routes by creating a testing page on the testing folder. Use backend-test for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants