Assignment 2 builds upon the ecommerce store that we made in Assignment 1. The main thing added is a login and registration page that also includes a JSON file in which the customer information is written to. For further detail click this link.
I learned a number of things from this assignment like how to pass things along a query string but I think one of the most interesting things I took from this assignment was having user input written to a JSON file.
Although I worked mostly independently, I did bounce ideas off of peers and get some help here and there with my server. I would say that the code is mostly mine and a little bit of collaborative code that I tweaked to fit my specific assignment.
The main thing I struggled with was getting the errors to pop up after a faulty registration. I ended up getting some help from peers to see how they had done it. I took some ideas from their code and altered it to fit what I needed
Developing this assignment was different from assignment 1 because there were a lot more parts, you had to add in a login and registration page along with the javascript associated with it. Additionally, there was a lot of movement of information, even more so than assignment 1.
I’d definitely say about 25% of the time went into thinking of how to do something, then only about 15-20% went into actually writing the code and then that leaves 55-60% in testing debugging.
The thing that worked well in this project was getting the general architecture of the login and registration pages and getting the information to write to the JSON file. The things that didn't work out so well were getting the additional parameters and individual requirements working, it took quite a bit of time to get some of them to work properly.
If I could go back in time and do things differently, I would have looked at this assignment earlier so I would have more preparation and time to really think about how I wanted to attack all of this. I think I became a bit overwhelmed near the end and so it got really tough for me.