Assignment 1 - DPS909
For this assignment, our task was to use Google's libphonenumber library and create a RESTful api web service which would get the phone numbers from a string that is provided and also from a file that is provided. The initial task was to determine what language we want to use to achieve the final result. For me, I went with JavaScript, as I have worked with JavaScript before and would require less effort to achieve the result. So for this assignment I used Node.js which is a JavaScript run-time environment which allows the execution of JavaScript code on the server-side.
Dependencies used with Node.js
- express
- google-libphonenumber
- multer
- body-parser
- mocha
- chai
- chai-http
- nodemon
The most challenging part of this assignment was not about the programming language but rather it was about the implementation of the other libraries and packages used in this project. It wasn't extremely hard but it took a little bit of a research to understand everything. Since JavaScript is such a commonly used language and also Node.js being used by many others, there was more than enough information available online. The second part of the assignment was to contribute to someones code. This was a bit more challenging because before I started I had to understand how his/her code worked, how the values were being stored etc. This was a very good experience working on someones code and getting it to work, and also adding other features. So overall I learned how to properly use GitHub and contribute to projects. I also learned how to work with Node.Js and also had a great time in learning how to do so.
My project can be found on GitHub.
Comments
Post a Comment