A parcel tracking webapp, where users can log in and track their deliveries, and communicate with customer support.
Built using Maven with Spring Boot, written in Java. Connection to local Microsoft SQL Server database.
Download the whole repository, ensuring especially the pom.xml file is correctly downloaded to set up dependencies.
Run the application as spring boot application, in Eclipse, set:
Goals: spring-boot:run
Navigate to /register to start by registering your account.
src/main/javacontains the Java production code.entitycontains all the entities involved.controllercontains all the logic for directing a particular URL to a view.repositorycontains the JPA Repository to access the SQL database.factorycontains the code for producing the entities.filtercontains all the filters implemented. The no cache filter clears cache before accessing security required pages, so that browser back button cannot be used.runnercan be used to simulate the behaviour of the code without running the server.
src/test/javacontains the unit tests of themaincode, using JUnit 4.
src/main/webappcontains all the views (webpages) written in JSP, theweb.xmlto set up the filters and thedispatcher-servlet. TheAppcontains all the pages which require security for access.
Hope to:
- Complete messaging system, including notification by email about delays.
- Include embedded map for tracking where the delivery is at.
- Add demo user / admin accounts so that the app can be viewed without creating an account.
- Add page to update personal details.