Skip to content

Instantly share code, notes, and snippets.

View myspace20's full-sized avatar

Roger Satsi Dankudi myspace20

View GitHub Profile
@myspace20
myspace20 / challenge-09-many-to-many.md
Created December 23, 2023 02:52 — forked from cklanac/challenge-09-many-to-many.md
Challenge 09: KnexJS with Many-to-Many

Noteful Challenge - Many-to-Many

In this challenge you will create a tags and notes_tags table which will setup a many-to-many relationship between notes and tags. You'll also create a new router to perform CRUD operations on the tags, and update the existing notes endpoints to work with tag related data.

Requirements

Add tags and notes_tags table and relationships

To get started, let's update the .sql script from the previous challenges. Create a tags table and define 2 fields in the schema.

@myspace20
myspace20 / nvmCommands.js
Created May 25, 2024 13:20 — forked from chranderson/nvmCommands.js
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node