Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
Sign up Reseting focus
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Loanapp is a basic loan management web application created using Java EE, the Spring Framework, AngularJS,and Hibernate.
Notifications You must be signed in to change notification settings
mainmacjj/loanapp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to file
Folders and files
Last commit message
Last commit date
Latest commit
History
View all files
Repository files navigation
Simple Loan Application
About Project
loanapp is a basic loan management web application created using Java EE, the Spring Framework, AngularJS,and Hibernate. The project was a means of getting acquainted with these technologies and demonstrating what I had learnt by implementing them together.
Specification
- Java and J2EE - http://www.oracle.com/technetwork/java/javaee/overview/index.html
- Run on Jetty - https://en.wikipedia.org/wiki/Jetty_%28web_server%29
- Mysql
- Hibernate for data management - http://hibernate.org/orm/
- Spring Framework - http://projects.spring.io/spring-framework/
- AngularJS
The application should have a simple AngularJS web app that reads and writes data to an API. It should support the following objectives:
- Manage loans records
- Manage customer records
It should support the following functions:
- Close a loan once the user has repaid all the loan amt
- Allow the user to make repayments
- UI Requirements - Customer
- Allow customer to register with name and automatically get a code
- Allow customer to login with code
- Allow a logged in customer to see all loans with status active
- Allow a logged in customer to select a loan and create a repayment
- Allow a logged in customer to select a loan and update a repayment
- Allow a logged in customer to select a loan and delete a repayment
- UI Requirements - Loan Officer
- Allow loan officer to login with code
- Allow a logged in loan officer to see all customers
- Allow a logged in loan officer to select a customer and create a loan, the loan number should be automatic
- Data structure should be loan_officer - customer - loan - repayments -
- Assume data for loan officer does not change -
- Assume loan status of [,]
- No graphics or animations
It is important that you familiar yourself with these technologies and be able to demonstrate a knowledge of Java and J2EE. Please complete this so as to:
- Demonstrate your ability to learn the technologies and execute on requirements
- Demonstrate your ability to create an API
- Demonstrate your ability to consume an API
Live demo of the project can be found online
There is only one loan officer in the database with pass code: 01010101
Also, there are two customers in the sample database, and the pass code for one of these is: 12345678
The details of the above users or the second customer can be found in the sql file in the database-sample folder.
Instructions to build from source and run in Netbeans
- Create database with sample data by running database-sample/loan_db.sql or an sql file of your choice.
- To connect to your MySQL database go to src/main/resources/hibernate.cfg.xml and replace the hibernate.connection.password property with your root password.
- The necessary libraries if not available should be downloaded via maven. This can be done by opening loanapp as a Netbeans project and right click dependencies then click download declared dependencies (using netbeans 8.0.2 UI as reference).
- Then right click and select build with dependencies.
- After the downloads have finished Run with the server of your choice (my default was Glasfish 4.1).
About
Loanapp is a basic loan management web application created using Java EE, the Spring Framework, AngularJS,and Hibernate.