Key terms and common mistakes
The words you will hear in MERN Stack Development work and the mistakes that most often cost interns approvals.
Key terms
| Term | Meaning |
|---|---|
| Document | One JSON-like record |
insertOne | Adds one document |
$gt | Greater than |
| Embedding | Storing related data inside a document |
| Index | Structure for fast lookups |
$match | Filter stage |
| Driver | Library to talk to MongoDB |
| Atomic | All or nothing |
Common mistakes to avoid
- Storing JWT secrets or MongoDB URIs in frontend code.
- No validation on Express routes.
- Fetching data in React without loading and error states.
- No indexes on MongoDB fields used in queries.
Want to go deeper? The free MongoDB learning path has short modules, games and a certificate for each module.