Landing : Athabascau University

Group members: this is the place for your learning diary. Use this to post your zipped-up site at least once each unit, and your reflections as often as you wish (at least once per unit). Please write your reflections directly in the post, not as attached files. Where you do need to attach documents, such as for unit 1 designs, use PDF, PNG or JPG formats. You can attach files using the 'Embed content' link in the editor.

QUICK COURSE LINKS:  Add blog post - Read latest group postsFAQs: Course process : Site design : HTML : CSS : JavaScript : JQuery : AJAX : MiscPodcasts for each unit

Updated resource pages:  Unit 1 - Unit 2  - Unit 3Units 4 & 5 - Unit 6 - Unit 7

mportant notice: the student web server is unavailable. Until this is fixed, we do not require you to upload your site to the student server. See Running a web server on your local machine for details of how to meet the requirements for the final unit

Unit 7 Code and Learning Diary

  • Public
By Andrew Jackson in the group COMP 266 October 29, 2022 - 1:37pm



Learning Diary:

            In this unit I added 2 different API’s into my site. The first one I added is an email service which allows you to send emails from my site. I create a template on the email.js website and define variables to be passed in. Then call the API from my site passing through the required variables. This is a key feature of the site as it allows users to register themselves as vendors like in the defined scenarios. Users cannot be allowed to instantly add themselves as vendors as anyone could go in putting in whatever they want including profanity or competitors which should not be posted on a professional website. For this reason, it sends an email to the website administrator with all the information requested to be added so it can be reviewed then added if accepted. This was an API I have never worked with before so there was a learning curve in setting up the implementation and debugging it to ensure emails were being sent through properly, and it was nice to learn. I now have an available way to send emails from any website. The second API I used was google maps which I have worked with before and added it to the locations page so that any user/persona wishing to find a warehouse can easily view a map without having to use a separate location. If I were to do this again, I wish I could add additional API’s to the site, but I would need to define more functionality that would be required for the site.