Skip to content

"Parimautomaat" is a collaborative summer internship project led by a team of four individuals. Constructed using PHP, the system employs geocoding to identify the nearest parcel machines for both the sender and receiver of a package.

Notifications You must be signed in to change notification settings

mxc2/summer-internship

 
 

Repository files navigation

logo

Summer internship on "Optimization of Shipping Costs: Parimautomaat"

Image of our page

Purpose and brief description

As part of the software project course of the Digital Technology Institute of Tallinn University, our goal was to create a website that would allow people to send parcels with parcel machines as cheaply as possible. During the summer internship period, we made a website called Parimautomaat, which allows the user to enter the dimensions, weight, starting and final location of the package, and based on these, our system calculates the cheapest transport company with which to send the package. The system works by converting entered addresses into coordinates. It then takes the coordinates of the parcel machines from the database and calculates their distance from the addresses entered by the user (which have been converted into coordinates). The results are given by the system on the results page, which shows the cheapest way of sending the specified package for each transport company.

Used software and versions

•Opencagedata Geocoding API

•PHP v.7.4.20

•MySql v.15.1

•Html v.5

•Javascript v.missing

•Css v.3

•Ajax v.missing

Contributors to the project

Team leader: Marcus-Indrek Simmer

Developer: Stella-Marii Tamme

Developer: Margen Peterson

UI Designer: Margarita Zahharova

Installation instructions

To install the project on your own website, we recommend starting by creating the database. You can find the files Dpd.sql, itella.sql, omniva_machines.sql, pakid.sql, and accounts.sql in the root directory named "ToDatabase".

There are two ways to create a database.

  1. Import dpd.sql, itella.sql, omniva_machines.sql, pakid.sql and accounts.sql into the database with phpMyAdmin.
  2. Open each file and copy the "CREATE TABLE..., INSERT INTO...., ALTER TABLE...," in each file to MySql in the order they were written to the file, one at a time.

Next, all project files must be uploaded to a server or a computer that supports all used software. To use your own databases, you need to change $database = "if20_marcus_praktika" to your own database in some .php files. For security reasons, you must make your own config file consisting of @serverhost, @serverUsername and @serverPassword, and this config file must be located 2 directories before the project files. (Logically, before public_html)

To open the web page, you need to open index.php, and to open the system manager, you need to open "SystemMaintancePage" in the index.php folder.

License

Image of Copyright

To the extent possible under law, Marcus-Indrek Simmer, Stella-Marii Tamme, Margen Peterson ja Margarita Zahharova have waived all copyright and related or neighboring rights to this work.

About

"Parimautomaat" is a collaborative summer internship project led by a team of four individuals. Constructed using PHP, the system employs geocoding to identify the nearest parcel machines for both the sender and receiver of a package.

Resources

Stars

Watchers

Forks

Languages

  • PHP 83.3%
  • CSS 15.4%
  • Hack 1.3%