The objective of this exercise is to:
Use all of the skills learned in the entire course.
- Prep for gitlab
- Ec2 as user ec2-user: mkdir ~/.ssh on ceclinux:
- Create your final project in /var/www/html
Note: Everything you write must use the following (from the exam)
- Bootstrap (must be responsive) jQuery
- Good looking using CSS
- Every page (including the menu) must include pictures that integrate well into the web page
- All code MUST be working on your ec2 instance http server, using your dynamic dns
- All code must be in git
- You are to write all code using the jQuery Ajax routines as done in the lecture, labs, and homework. Some examples you see will use other methods, notably the fetch command. You may use those as an example, but you MUST use the $.ajax call for credit.
The menu must provide the following items.
- Menu of pages you are providing (with a mechanism to switch pages) You are to research and decide on your own mechanism to provide the front-end menu of pages.
- This was not covered in class. However, you have already seen web sites for research which included them.
- Landing page (default page)
- Your information (name, class, assignment etc)
- Directions History and search
- Use the mapquest api you created previously
- Make a good-looking, responsive, page which lets the user enter a from and to address (see: https://developer.mapquest.com/documentation/common/forming-locations/ for details on what can be entered)
- Call the mapquest directions api (https://developer.mapquest.com/documentation/directions-api/route/get/)
- Display all returned maneuvers with narratives, distance, time and thumbnail of the map image (mapURL)
- Call the elevation chart api
- Display one elevation chart using the two addresses as 400x300 elevation chart https://developer.mapquest.com/documentation/open/elevation-api/elevation-chart/get/
- Store all information about the request (and response(s)) using the php rest server from lab13
Provide a page where the user can enter a date and max number of lines and then receive a list of all directions requests made on that date in a nicely formatted output (table), showing all available data, with not more than the requested number of lines.
- You will be calling the updated rest interface on your ec2 instance using ajax
- You must show the correct number of returned results (based on the input page)
- For each returned request, use the json object you sent in part 3 to show the following:
- Number of maneuvers
- The user should be able to click on one of the lines (make something selectable or add a button)
- This should then display the same information as in part 4, but using the data from your json object
- Do not call mapquest again. You must have all of the data in the json object you stored in part 3. If not, update part 3 to store new data.
- Always make sure it includes your name, class, assignment etc
- Explain (relating to this assignment and the entire course):
- This must be in full paragraphs with full sentences for full credit.
- what worked
- what didn’t
- how long it took
- What you liked
- What you didn’t