Course Selling App

what’s git ammend command
git push origin HEAD
notion image
express router
most of the time of a EC2/VM should be spent doing computation and not serving static assets — notes why express server shouldn’t be returning html
notion image
notion image
Purchases here is a mapping table or join like collection

include and select in mongoose
TODO: harkirat’s video on youtube to deploy a node js project in 9 different ways
the JWT secret for user logins and admin logins should be different
 
as we have different tables for user and admin if we have same jwt that will try to create a problem as the jwt secret stays the same and if for some reason they have the same id in both admin and user that will create a new problem
notion image

$in

in this array
notion image