:: krowemoh

Thursday | 26 DEC 2024
Posts Links Other About Now

previous
next

Express Cheatsheet

2022-11-12
cheatsheet

These are my notes on setting up and using express.

Express starter - Every express project starts with these commands:

https://nivethan.dev/devlog/express-starter-kit.html

Put, patch and deletes - Lets me use router.delete and router.put:

https://nivethan.dev/devlog/using-put,-patch-and-delete-in-express.html

File uploads - nuff said:

https://nivethan.dev/devlog/setting-up-file-uploads-in-express.html

SQLite3 - Using sqlite3 as the database:

https://nivethan.dev/devlog/using-sqlite3-with-express.html

Sessions and authentication - uses an in memory db for sessions:

https://nivethan.dev/devlog/express-sessions.html

Authentication - this uses better-sqlite3 for sessions:

https://nivethan.dev/devlog/express-sessions-with-a-sqlite-backend.html

Authentication - uses postgres for sessions:

https://nivethan.dev/devlog/setting-up-authentication-in-node.html

bcrypt - used for password hashing and comparing:

https://nivethan.dev/devlog/using-bcrypt.html

pm2 - process manager to manage applications:

https://nivethan.dev/devlog/using-pm2.html