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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started