Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- MVC on the server: models (data), views (templates), controllers (route handlers).
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- NoSQL: key–value stores (Redis), document stores (MongoDB), column and graph databases. Flexible schema, horizontal scaling.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Relational: tables, fixed schema, joins, SQL. Document: JSON-like documents that can embed related data.
🎯 How this can come up · 1 question
MCQ
MongoDB stores data as:
Correct: JSON-like documents.
Exam weight Low
Exam weight Low
Exam weight High
- ORM (Object Relational Mapping, e.g. Sequelize): work with tables as JavaScript objects/classes instead of writing SQL.
🎯 How this can come up · 1 question
MCQ
Sequelize is a(n):
Correct: ORM for SQL databases in Node.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Define a model: sequelize.define("Employee", { name: DataTypes.STRING, … }).
Exam weight High
- CRUD ↔ HTTP: Create = POST, Read = GET, Update = PUT/PATCH, Delete = DELETE.
Memory trickPOST creates, GET reads, PUT/PATCH updates, DELETE deletes.
🎯 How this can come up · 1 question
MCQ
An API endpoint that updates an existing employee should use:
Correct: PUT (or PATCH).
Exam weight Low
Exam weight Low
- Model.create({…}) inserts a row.
Exam weight Low
Exam weight Low
- findAll(), findByPk(id), findOne({ where: {…} }).
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Operators: { where: { [Op.and]: […] } }, Op.or, Op.ne, Op.gt, Op.lt.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Associations: hasMany / belongsTo / hasOne / belongsToMany; include them in queries.
Exam weight Low
Exam weight Low
Exam weight Low
- Validators on fields: allowNull: false, validate: { isEmail: true, len: [2, 50] }.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
No slides match this filter.
























