Skip to content

Instantly share code, notes, and snippets.

View narhd's full-sized avatar
πŸ’­
Looking for new opportunities 🎯

Daniel Narh narhd

πŸ’­
Looking for new opportunities 🎯
  • Accra, Ghana
  • 05:52 (UTC)
  • LinkedIn in/dnarh
View GitHub Profile
@narhd
narhd / cheat_sheet.md
Created November 30, 2025 21:58 — forked from nhudinhtuan/cheat_sheet.md
15 days cheat sheet for interviews
@narhd
narhd / sequelize-cheatsheet.md
Created June 22, 2023 11:44 — forked from bgoonz/sequelize-cheatsheet.md
sequelize-cheat-sheetmd

Sequelize Cheatsheet

Command Line

Sequelize provides utilities for generating migrations, models, and seed files. They are exposed through the sequelize-cli command.

Init Project

$ npx sequelize-cli init
@narhd
narhd / Zen of Javascript
Created May 18, 2020 06:56 — forked from claytongulick/Zen of Javascript
Zen Of Javascript
Zen Of Javascript
Build functionality, not architecture.
Build small things that work
and glue them together to make big things.
Clear is better than clever,
but graceful beats both.
Comments are good, even if you're Dutch.
Asychronous is better than synchronous
except for when it isn't
@narhd
narhd / nodejs-directory-structure.md
Created March 24, 2020 18:50 — forked from miguelmota/nodejs-directory-structure.md
Node.js MVC directory structure example.
Node.js MVC directory structure example.
β”œβ”€β”€ app
β”‚   β”œβ”€β”€ controllers
β”‚   β”‚   β”œβ”€β”€ admin
β”‚   β”‚   β”‚   β”œβ”€β”€ posts.js
β”‚   β”‚   β”‚   └── users.js
β”‚   β”‚   β”œβ”€β”€ posts.js
β”‚ β”‚ β”œβ”€β”€ session.js