For more detail, please visit:
Security:
Node.js + MongoDB: User Authentication & Authorization with JWT
Associations:
MongoDB One-to-One relationship tutorial with Mongoose examples
MongoDB One-to-Many Relationship tutorial with Mongoose examples
Fullstack:
Integration (run back-end & front-end on same server/port)
npm install
node server.js