hrachyahakobyan / comp354-project Goto Github PK
View Code? Open in Web Editor NEWA small MVC application for bank account aggregation. Developed for COMP 354 of Concordia.
A small MVC application for bank account aggregation. Developed for COMP 354 of Concordia.
The user should have the opportunity to delete/deactivate his/her account from the Update User Details page.
void deleteUser(User)
to the interface and implementation. This call would also use an AccountService to delete all Accounts of the user. The API call should handle user authorization and authentication, i.e. whether the user to be deleted is the user currently logged-in and whether there is a user currently logged-in.User updateUser(User)
to the interface and implementation. Should handle authorization and authentication, same as above.Program the foundations of the application so that the other coders can start working on the project also
(I will write a template to write in what you have to do)
The list of transactions is displayed in AccountDetailsController and AllTransactionsController.
Use two DatePicker to select a date range, then filter the list of transactions by their date property. The date is an Integer unix timestamp in seconds. You would have to convert the LocalDate object received from the DatePicker-s to seconds. This post might help.
Note that since 'all transactions' and 'acount details' both use the same tableview and model. Hence, a new model must be created since it would be useless to show bank account ids on the 'account detail' view.
The user should have the opportunity to view the user account details and be able to update them.
The Transaction model is located in service.account package.
The list of transactions is displayed in two view controllers: AccountDetailsController and AllTransactionsController. Both controllers have a member transactionTableViewController which they populate with a list of transactions.
You need to add a JFXTextField to both controllers and use the value of the text field to filter out the transactions by their category. You can simply use the startsWith() method of the String class to achieve that. Also, make sure to cast both Strings (i.e. the search text from the text field and the category of each transaction) to lowercase before calling the function.
This post shows how to listen to textfield changes
exceptions aren't properly implemented, some are poorly designed, many are poorly used in our services, errors aren't properly built. alert helper should also have some integration with our errors.
Use the tableData list of TransactionDisplayModels from TransactionTableController to write it to a csv file.
The location of the file is not important at this point, just write it somewhere in the resources directory.
Create a separate class that accepts a list(or observable list) and a file name/path and creates a CSV file with the contents.
Example given by oracle (ctrl+f for writeExcel() function):
https://community.oracle.com/thread/2397100
The system should allow deletion of Account-s (not RemoteAccount-s) and all their associated Transactions(not RemoteTransactions).
void deleteAccount(Account account)
. This call would also delete all the associated Transactions.void deleteBankAccount(Account)
that is used by the view controller to delete the user's bank account. It must handle authorization and authentication of the user. Use SessionManager to handle authentication, and check ID-s to verify the account belongs to the user.Subsystem is whitebox/blackbox which is to test manually the application
Unit testing is all the Junit tests
Add unit tests to validator classes found in com.github.comp354project.service.validators
(I will write a template to write in what you have to do)
Subsystem is whitebox/blackbox which is to test manually the application
Unit testing is all the Junit tests
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.