Posts

Showing posts with the label Week 12

Week 9 to 12 - Learning with MCR Codes

Image
My experience with  @MCRcodes   as a Quality Assurance Tester.  This is an evening part-time coding boot camp based in central Manchester which runs for 24 weeks, from February 2018 to July 2018. Week 9 (April 2018) - After spending two decades using the internet, I finally have an understanding how it works now, and the communication between the server and the client. Nice to create and run a simple server using Express and I now know what API actually means now, I think. Really appreciate how amazing and powerful the npm  package manager really  is, and looking forward to installing other future packages.  We have now started our back-end programming journey. Session 1 -  The Internet, the Web, HTTP Session 2 -  Web APIs & Express Week 10 - Really enjoying creating and reading test units for server assignments. Additionally, learning s ynchronous/a synchronous programming has been a tease.   Unfortunat...

Week 12 - Session 2 - Group Programming Workshop - Music Library API

Image
blog image source Group exercise - b uilding a Music Library API (application programming interface)  using a hosted database provider called mLab, which offer a free tier solution where a MongoDB database is created and used with Express API.  Once a Mlab account and a MongoDB database have been set-up, implement a REST ( REpresentational State Transfer ) API which will do the following : Can you use mLab to hosts MongoDB databases? Can you use Express to build a basic CRUD (Create, Read, Update, Delete) web API? Can you use Postman to feature test an API? Can you validate user input? Can you use query parameters? Can you create unique IDs for objects to distinguish them from one another? Refactoring the schema including test units. Creating and testing multiple models. GitHub Music Library API exercise -  https://github.com/SharifCoding/music-library-api

Week 12 - Session 1 - Relational/Nested Data

Image
blog image source It is important to carefully plan out your database structure on how you want to store data, how it is accessed, and what objects belong to other objects. There are two common data structures: Relational Data - a collection of data items organized as a set of formally-described tables from which data can be accessed or reassembled in many different ways without having to reorganize the database tables. Nested Data - performs a particular function and that is contained within a code that performs a broader function. How I Conquered a Functioning (Relational) Database -  https://medium.com/@dschro225/how-i-conquered-a-functional-relational-database-with-mongodb-and-mongoose-js-bbc025cd67fe Model One-to-Many Relationships -  https://docs.mongodb.com/manual/tutorial/model-embedded-one-to-many-relationships-between-documents/ Modelling Relational Data With Mongoose - https://alexzywiak.github.io/best-of-both-worlds-modelling-relational-data-wit...