Closed saifahn closed 1 year ago
/transactions
- POST, CreateTransaction
/user/{userID}
- GET, GetTransactionByUser/user/{userID}/all
- GET, GetAllTxnsByUserBetweenDates/user/{userID}/range
- GET, GetTxnsBetweenDates/{transactionID}
- GET, GetTransaction; PUT, UpdateTransaction; DELETE, DeleteTransaction/shared/settle
- POST, SettleTxns/users
- GET, ListUsers
/self
- GET, GetSelf/{userID}
- GET, GetUser/trackers
- POST, CreateTracker
/{trackerID}
- GET, GetTrackerByID/{trackerID}/transactions
- GET, GetTxnsByTracker; POST, CreateSharedTxn/{trackerID}/transactions/range
- GET, GetTxnsByTrackerBetweenDates/{trackerID}/transactions/{transactionID}
- PUT, UpdateSharedTxn; DELETE, DeleteSharedTxn/{trackerID}/transactions/unsettled
- GET, GetUnsettledTxnsByTracker/user/{userID}
- GET, GetTrackersByUserNext is handling the Login
This was finished by #124, #126, #128, #130
2023-02-18
I decided to go with NextJS API Routes as it's pretty simple, written in TS etc.
Overview
AWS Lambda is Always Free, whereas EC2 is only 12 months free.