Notes

This is where I document useful things I find or write, so I don't lose them later.

Name Summary
Multer setup

Multer is a node library to let end users upload files (eg, photos of their cat). Unfortunately, a lot of the documentation online does not match our specific tech stack, so I documented how to use it for the stack we learned in the Dev Academy bootcamp.

Curl to superagent translator

Often API documentation provides curl commands but it is not always clear how to translate those to superagent functions. This website decodes them very easily.

Otago Uni Labs

Useful assignments to try from Otago Uni Comp Sci department. Good project ideas.

Excel to JSON converter

When creating db seeds, they are arrays of objects, but it can be tedious to type them all in. This simplifies copying from spreadsheets.

Knex cheatsheet

Although it appears this query builder is on its way out, this is what we were taught in the Dev Academy and it's quite simple and intuitive to use. This cheat sheet documents the most common functions and is easier to use than the official docs.

You might not need an Effect

Seems like a lot of the time people fall to including useEffect in their React components, but it is frequently not necessary. This doc from the React team explains why.