Code Monkey home page Code Monkey logo

santa-tracker's Introduction

santa-tracker

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.

1. Getting started - How to run the application

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.

2. How to use the API

Main production code

  • src/main/java contains the Java production code.
    • entity contains all the entities involved.
    • controller contains all the logic for directing a particular URL to a view.
    • repository contains the JPA Repository to access the SQL database.
    • factory contains the code for producing the entities.
    • filter contains all the filters implemented. The no cache filter clears cache before accessing security required pages, so that browser back button cannot be used.
    • runner can be used to simulate the behaviour of the code without running the server.

Tests

  • src/test/java contains the unit tests of the main code, using JUnit 4.

Views

  • src/main/webapp contains all the views (webpages) written in JSP, the web.xml to set up the filters and the dispatcher-servlet. The App contains all the pages which require security for access.

3. Other features to implement

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.

santa-tracker's People

Contributors

adrielyeung avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ruzive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.