Skip to content

HayroMaki/Travia

Repository files navigation

A Star Wars Project.

*You must have an up-to-date jdk to execute the .jar file.
(for local development, put the jdk-X directory in the bin directory of wamp/xamp).
*You have to change into the launch.php file the field "id_db" and "mdp_db" with the id/pwd of your database

Tasks :

Done :
- Ships data importation script.
- Planets data importation script.
- Search form with auto-complete on planet name.
- Trace log on search.
- Result page with distance.
- Choosing a ship in the result page.
- Time and price data on the result page based on selected ship.
- Map of travel in result page.
- Popup of planets on the map.
- Map on the search page, possibility to select a planet on it's popup.
- Header and footer with links to main page and github.
- Admin page to manage the DB.
- Add a ticket to the cart.
- Cart popup that shows every ticket in it.
- Change a ticket from the cart (number of tickets).
- Make A* in C.
- Generate JSON(s) files for C executable in Java.
- Read the JSON(s) in C to generate structures.
- Launch C executable from Java.

To Do :
- Validate an order.
- Order page that shows every order.
- Launch Java executable from php code.
- Get the generated path by C executable in php.
- Show the generated path on the map in the travel page.

Maybe Do :
- Switch from Human to Aurebesh font.
- Select a datetime of departure/arrival.
- Download the tickets as pdf file.
- Change planet of departure/destination from the result page's map.