Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions