Report on Java API project:Describe how you tackle the Security concern across the whole API.

a. Textual description of the problem and the
proposed solution. (4 Marks)
b. An Entity-Relationship diagram would be a
useful addition. (8 Marks)
c. Describe how you tackle the Security
concern across the whole API. (8 Marks)
Introduction is to be approximately 2 pages.
20 Marks
2. The RESTful API The API describes all the entry points for the above
problem domain.
Each entry point (at least 15 entry points – 2 Marks for
each) should be documented under the following
headings:
a. API Name: e.g. Users Resource
b. : e.g. This allows the retrieval of all
user resources.
c. URI: e.g. /users
d. HTTP verb: e.g. GET
e. Parameters: e.g. user_id (Integer, Required),
name (String, Optional), for a POST this would be a
JSON object.
f. Resource contents: e.g. an example of the
returned resource.
g. Pre-Conditions: e.g. no record for the user with
the specified user_id must exist.
h. Post-Conditions: e.g. a new record for the user
with the specified user_id exists.
30 Marks
3. Prototype: The API prototype, must be implemented according to the
following requirements:
a. Front end client: An HTML+JavaScript or Mobile
or Desktop client calling ALL portions of the API.
E.g., the client should check the account balance
allowing a transfer or withdrawal. (10 Marks)
b. Back end service: REST API developed in Java
which implements ALL portions of the API using
in-memory objects. Constraints should be
implemented, balances should be updated and
transactions should be remembered as the API is
called. This should be achieved with a mock
50 Marks
database layer In-memory (i.e.ArrayList can be
used). (25 Marks)
You should provide screenshots to demonstrate the
operation of the Web Service. (15 Marks)
The prototype source code should also be included with
the submission in a ZIP file.Project the document will be based:
Problem Domain
Online Banking is a mainstream service offered by most banks today. A typical consumer online banking
application requires the following:
A Customer: Customers are individuals with a name, correspondence address, email and
security credentials. A customer can hold one or more accounts.
An Account: An account has a sort code (identifying the branch), an account number and a
current balance, The account has a list of transactions.
A Transaction: Each transaction is either a debit or credit on a particular date, with a
description and post-transaction balance.
Customers will be able to do the following:
Create – Customers should be able to create an account with the bank, and a customer who has an
account should be able to add additional accounts. For example a typical customer may have a
current account and a savings account.
Lodgement – For the lodgement, a bank customer can specify the amount to lodge and the account to
be credited.
Transfer – For the transfer, the bank customer can specify the amount to transfer and an account to
transfer to.
Withdrawal – For withdrawal, the bank customer can specify the amount to withdraw and the
account to be debited.
Balance – The customer can request a balance on any account at any time.

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"