2021-11-21
|~2 min read
|222 words
Once you’ve designed an API, you will likely want to test it. If it’s a Node server, supertest is a popular solution for writing tests…
2021-11-20
|~1 min read
|199 words
When designing a RESTful API, it can be useful to have rules of thumb for what kinds of attributes should be included in the path vs. what…
2021-11-19
|~13 min read
|2579 words
Basic Terms Graphs are comprised of nodes and edges. Nodes are also called vertices. Edges connect two nodes. Sometimes nodes are directed…
2021-11-18
|~1 min read
|161 words
Fun little toy problem: implementing a flat map. The function can take a list of nested arrays of any type and an optional second argument…
2021-11-13
|~1 min read
|140 words
Adding an module to your Go program requires registering it in the file. For the basics, see: Get started with Go. However, here’s a simple…
Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!