Notes for Codefellows Code 401 301 201 and 102
https://www.codica.com/blog/test-driven-development-benefits/
beforeEach()
or afterEach()
in a test suite?https://jestjs.io/docs/setup-teardown
They are methods to induce and remove through invoking a function call a change of your data and/or programming setup (put fake data, test it remove it - or put console.spy test and remove it). These methods are great when you need to do something repeatedly for lot’s of tests. You can invoke other functions inside a beforeEach or afterEach as a callback to test things asynchronously.
https://www.toptal.com/javascript/es6-class-chaos-keeps-js-developer-up
A ES6 class defines a type that can be instantiated while prototype classes is an object instance. The best way to think of this is that the ES6 class will be the same same as its prototype, not a copy.
One of the key advantages of REST APIs is that they provide a great deal of flexibility. Data is not tied to resources or methods, so REST can handle multiple types of calls, return different data formats and even change structurally with the correct implementation of hypermedia. This flexibility allows developers to build an API that meets your needs while also meeting the needs of very diverse customers.
process of building software by composing pure functions, avoiding shared state, mutable data, and side-effects.
https://www.educative.io/blog/object-oriented-programming
programming paradigm that relies on the concept of classes and objects. It is used to structure a software program into simple, reusable pieces of code blueprints (usually called classes), which are used to create individual instances of objects.
https://www.javascripttutorial.net/es6/javascript-class/
abstract blueprint used to create more objects
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/super
Super is used to gain access and call functions on an object’s parent.
https://www.w3schools.com/js/js_this.asp
This changes depending how a function is called. But typically refers to the object it belongs to.
https://www.codica.com/blog/test-driven-development-benefits/
software development practice enabling developers to create proper specifications about how their code should be written and implemented.
framework used for testing
https://www.cloudbees.com/continuous-delivery/continuous-integration
This is where developers frequently integrate code into a shared repo. This can be done multiple times a day.
https://en.wikipedia.org/wiki/Representational_state_transfer
Representational state transfer. It is an application programming interface. GET, POST, PUT, DELETE
https://en.wikipedia.org/wiki/Data_model
organizes elements of data and standardizes how they relate to one another and to the properties of real-world entities
https://www.youtube.com/watch?v=ZS_kXvOeQ5Y
https://www.youtube.com/watch?v=pWbMrx5rVBE