Question: This question is for use with javaScript: 1. Create a module called TransactionManager. 2. In the module create a class that represents a transaction. It
This question is for use with javaScript:
1. Create a module called "TransactionManager".
2. In the module create a class that represents a transaction. It should have a date, description, category, and amount.
3. export a function called getTransactions that returns an array of fake transactions. You will need to create an array of fake transaction objects in this module to be returned.
4. Install the TransactionManager module into your titan_backend application.
5. Modify your titan_backend server.js file so that when it receives a GET request for the url transactions.html, it should invoke the module and return the transactions as json.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
