Small end to end application to interact with.
- Lists person
- Able to add new person
- Able to edit an existing person
- Able to link existing address to a person
- Able to delete an existing person
- Lists address
- Able to add new address
- Able to edit an existing address
- Able to delete an existing address (Can not delete if it is linked to an existing person)
TODO
- Frontend - AngularJS
- Backend - SpringBoot RESTful
- ORM - Hibernate
- DB - HSQLDB
TODO
- Java 1.8 installed and required java environment variables are set to run java applications
- Maven is installed and required maven environment variables are set to run maven commands
- Git is required if cloning the repository
- Install nodejs and npm if not already. Refer https://angular.io/guide/setup-local#prerequisites
- Clone or download repository https://github.com/venkatesanvenugopal90/examples.git
- Open a shell prompt
- Go to
cd backend
under repository and runmvn clean install
- Run
java -jar target/backend-*.war
Note : This would start the backend sprintboot application and leave this prompt as it is and open new shell prompt to start UI
- Go to
cd ui
under repository directory - Install angular cli if not already. Refer https://angular.io/guide/setup-local#install-the-angular-cli
- Run
ng serve --open
. Refer https://angular.io/guide/setup-local#run-the-application Note: This would start the UI application and leave this prompt as it is. This will open http://localhost:4200/ on your default browser - Anytime when UI application is running, Open any web browser (Recommended Chrome/Firefox) and go to http://localhost:4200/ to see application
- Unit/Integration tests are not written for both ui & backend code
- User friendly messages or popup on UI not in place for successful operations
- Java/UI documentations not in place
- Need to document production way of deploying the application
- Add person/address by uploading XML/JSON not in place