🎄✨ Happy Christmas, Campers! ✨🎄
May your code compile on the first try, your bugs take a holiday, and your merges be conflict-free.😅
Wishing you a holiday with no errors and infinite joy! 🎁💻🎅
May your code compile on the first try, your bugs take a holiday, and your merges be conflict-free.😅
Wishing you a holiday with no errors and infinite joy! 🎁💻🎅
😁3
Forwarded from Birhan Nega
If you’re a student struggling with self-discipline, time management, or staying consistent, The Art of Laziness is a book worth reading. It doesn’t teach you to avoid work—instead, it helps you stop wasting time and energy. For students, the message is simple: focus on the right subjects, study with intention, remove distractions, and build disciplined routines. When your effort is structured, results follow without burnout.
You can download PDF here
You can download PDF here
❤1
Forwarded from Edemy
Things You Should Do as a Beginner Developer
1. Focus on fundamentals, not memorizing syntax
As a beginner, you don’t need to memorize every keyword or function.
Start by understanding the basics: how things work, why they work, and how different pieces connect.
Even senior developers don’t remember everything, they regularly check documentation and references.
2. Build a project
Projects are where real learning happens.
When you build something, you face real problems, real errors, and real decisions.
That experience teaches you more than watching tutorials or copying code.
3. Get comfortable using documentation
Reading documentation is a core developer skill.
You’re not expected to know everything by memory.
What matters is knowing where to look and how to understand what you find.
4. First start with one technology practice enough to gain confidence
Jumping between tools can slow your progress.
Spending enough time with one language or framework helps you build problem-solving skills and confidence.
Those skills often carry over when you explore other technologies later.
5. Searching is part of the job
Every developer searches for answers errors, examples, and best practices.
The skill isn’t knowing everything.
It’s knowing how to find and apply information.
6. Accept bugs, confusion and stay consistent
Feeling confused or stuck is normal, especially at the beginning.
Progress doesn’t come from being perfect it comes from showing up regularly, even when things don’t make sense yet.
@edemy251
1. Focus on fundamentals, not memorizing syntax
As a beginner, you don’t need to memorize every keyword or function.
Start by understanding the basics: how things work, why they work, and how different pieces connect.
Even senior developers don’t remember everything, they regularly check documentation and references.
2. Build a project
Projects are where real learning happens.
When you build something, you face real problems, real errors, and real decisions.
That experience teaches you more than watching tutorials or copying code.
3. Get comfortable using documentation
Reading documentation is a core developer skill.
You’re not expected to know everything by memory.
What matters is knowing where to look and how to understand what you find.
4. First start with one technology practice enough to gain confidence
Jumping between tools can slow your progress.
Spending enough time with one language or framework helps you build problem-solving skills and confidence.
Those skills often carry over when you explore other technologies later.
5. Searching is part of the job
Every developer searches for answers errors, examples, and best practices.
The skill isn’t knowing everything.
It’s knowing how to find and apply information.
6. Accept bugs, confusion and stay consistent
Feeling confused or stuck is normal, especially at the beginning.
Progress doesn’t come from being perfect it comes from showing up regularly, even when things don’t make sense yet.
@edemy251
👍1
Forwarded from Chapi Dev Talks
Index for the JD
Backend Role: https://t.me/chapidevtalks/2454
Cyber Security: https://t.me/chapidevtalks/2455
Mobile Dev: https://t.me/chapidevtalks/2456
Technical Project manager https://t.me/chapidevtalks/2457
Product Owner: https://t.me/chapidevtalks/2458
UI/UX: https://t.me/chapidevtalks/2459
AI/ML Engineer: https://t.me/chapidevtalks/2461
Backend Role: https://t.me/chapidevtalks/2454
Cyber Security: https://t.me/chapidevtalks/2455
Mobile Dev: https://t.me/chapidevtalks/2456
Technical Project manager https://t.me/chapidevtalks/2457
Product Owner: https://t.me/chapidevtalks/2458
UI/UX: https://t.me/chapidevtalks/2459
AI/ML Engineer: https://t.me/chapidevtalks/2461
Telegram
Chapi Dev Talks
Backend Developer (Mid-Level or Senior) [3 persons]
Location: in Person
Type: Full-time
Salary: Negotiable (with a Good Compensation and great environment)
### About the Role
We are looking for 3 Mid-Level Backend Developers to join our growing engineering…
Location: in Person
Type: Full-time
Salary: Negotiable (with a Good Compensation and great environment)
### About the Role
We are looking for 3 Mid-Level Backend Developers to join our growing engineering…
Apologies for the pause this month; finals and projects have been overwhelming. We'll get started soon!
⚡2
🚀 Week 8 Day 8 — MongoDB Foundations & Environment Setup
Alright campers 🔥💙
Today we step into the database world — where your app stops being forgetful and starts having memory.
🌳 BIG IDEA — What Is MongoDB Really?
Think of your backend like a company:
➞Express = receptionist handling requests
➞Routes = departments
➞Controllers = workers doing tasks
➞MongoDB = warehouse where all records are stored
➤Without a database:
Your app lives only in RAM — like writing on water.
➤With MongoDB:
Your app writes on stone.
MongoDB is a NoSQL document database — which means it stores data as flexible documents instead of rigid tables.
🧱 1️⃣ MongoDB Ecosystem — The Tool Family
MongoDB is not just “one thing”. It’s like a kitchen with multiple tools.
🗄 MongoDB Server
The actual database engine running and storing data.
Like:
The warehouse building itself
🌍 MongoDB Atlas
Cloud-hosted MongoDB.
Like:
Renting a secure warehouse in the cloud instead of building one at home.
Good for:
➢deployment
➢teamwork
➢production apps
🧭 MongoDB Compass
Visual GUI for MongoDB.
Like:
Google Maps for your database — browse, search, edit visually.
💻 mongosh (MongoDB Shell)
Terminal interface.
Like:
Command center — type commands directly to DB.
Best for:
➥power users
➥scripting
➥debugging
🏠 2️⃣ Local MongoDB Installation — Why Local First?
Running MongoDB locally is like:
Learning to cook in your own kitchen
before cooking in a restaurant.
Why it matters:
➡faster
➡no internet dependency
➡safe experiments
➡no billing worries
Install Steps (Local)
Go to MongoDB Community Server download page → install → start service.
After install, MongoDB runs as a background service.
Test it:
Bash
If shell opens → MongoDB is running ✅
☁️ 3️⃣ MongoDB Atlas — Cloud Setup
Atlas = MongoDB hosted online.
Use Atlas when:
➛deploying apps
➛working in teams
➛need remote DB
➛need backups & scaling
Atlas Setup Flow
Think of Atlas like opening a bank account:
Step 1 — Create account
Step 2 — Create cluster
Cluster = database machine group
Step 3 — Create DB user
Username + password for access
Step 4 — Network access
Allow your IP address
Step 5 — Get connection string
Looks like:
This is your database address — like a phone number.
🧭 4️⃣ MongoDB Compass — Visual Explorer
Compass is beginner heaven.
Instead of typing commands, you:
click
browse
edit
search
insert documents
Like:-File Explorer for your data warehouse.
Connect with Compass
Paste connection string → connect → explore DB.
You can:
➤create database
➢create collection
➢insert document
➢edit document
➢filter data
💻 5️⃣ MongoDB Shell — mongosh Basics
mongosh = talking directly to MongoDB.
Like chatting with the warehouse manager.
Start:
Bash
Js
MongoDB creates it only when first data is inserted.
Why?
Because MongoDB is lazy by design — it doesn’t create empty containers.
Create collection & insert document
Js
Now DB + collection exist.
➢View documents
Js
Alright campers 🔥💙
Today we step into the database world — where your app stops being forgetful and starts having memory.
🌳 BIG IDEA — What Is MongoDB Really?
Think of your backend like a company:
➞Express = receptionist handling requests
➞Routes = departments
➞Controllers = workers doing tasks
➞MongoDB = warehouse where all records are stored
➤Without a database:
Your app lives only in RAM — like writing on water.
➤With MongoDB:
Your app writes on stone.
MongoDB is a NoSQL document database — which means it stores data as flexible documents instead of rigid tables.
🧱 1️⃣ MongoDB Ecosystem — The Tool Family
MongoDB is not just “one thing”. It’s like a kitchen with multiple tools.
🗄 MongoDB Server
The actual database engine running and storing data.
Like:
The warehouse building itself
🌍 MongoDB Atlas
Cloud-hosted MongoDB.
Like:
Renting a secure warehouse in the cloud instead of building one at home.
Good for:
➢deployment
➢teamwork
➢production apps
🧭 MongoDB Compass
Visual GUI for MongoDB.
Like:
Google Maps for your database — browse, search, edit visually.
💻 mongosh (MongoDB Shell)
Terminal interface.
Like:
Command center — type commands directly to DB.
Best for:
➥power users
➥scripting
➥debugging
🏠 2️⃣ Local MongoDB Installation — Why Local First?
Running MongoDB locally is like:
Learning to cook in your own kitchen
before cooking in a restaurant.
Why it matters:
➡faster
➡no internet dependency
➡safe experiments
➡no billing worries
Install Steps (Local)
Go to MongoDB Community Server download page → install → start service.
After install, MongoDB runs as a background service.
Test it:
Bash
mongosh
If shell opens → MongoDB is running ✅
☁️ 3️⃣ MongoDB Atlas — Cloud Setup
Atlas = MongoDB hosted online.
Use Atlas when:
➛deploying apps
➛working in teams
➛need remote DB
➛need backups & scaling
Atlas Setup Flow
Think of Atlas like opening a bank account:
Step 1 — Create account
Step 2 — Create cluster
Cluster = database machine group
Step 3 — Create DB user
Username + password for access
Step 4 — Network access
Allow your IP address
Step 5 — Get connection string
Looks like:
mongodb+srv://username:password@cluster.mongodb.net/
This is your database address — like a phone number.
🧭 4️⃣ MongoDB Compass — Visual Explorer
Compass is beginner heaven.
Instead of typing commands, you:
click
browse
edit
search
insert documents
Like:-File Explorer for your data warehouse.
Connect with Compass
Paste connection string → connect → explore DB.
You can:
➤create database
➢create collection
➢insert document
➢edit document
➢filter data
💻 5️⃣ MongoDB Shell — mongosh Basics
mongosh = talking directly to MongoDB.
Like chatting with the warehouse manager.
Start:
Bash
mongosh
Create / switch database
Js
use schoolDB
MongoDB creates it only when first data is inserted.
Why?
Because MongoDB is lazy by design — it doesn’t create empty containers.
Create collection & insert document
Js
db.students.insertOne({
name: "Sara",
age: 22
})
Now DB + collection exist.
➢View documents
Js
db.students.find()
🗂 6️⃣ Data Structure — DB → Collection → Document
MongoDB structure is like:
Database
↓
Collection
↓
Document
Analogy:
Library
↓
Bookshelf
↓
Book
➤Database
Big container for related data.
Examples:
ecommerceDB,blogDB,chatAppDB
➤Collection
Group of similar documents.
Examples:users,posts,messages
➤Document
Actual data record — stored as JSON-like object.
Example:
Json
{
"name": "Abel",
"email": "abel@mail.com",
"age": 21
}
🧾 7️⃣ BSON vs JSON — Why MongoDB Doesn’t Store Pure JSON
Students often ask: “If MongoDB uses JSON — why mention BSON?”
Because MongoDB actually stores:
BSON = Binary JSON
Think of it like:
➡JSON = readable recipe
➡BSON = compressed packaged food
Why BSON exists
Because databases need:
➥faster reading
➥indexing
➥binary data
➥dates
➥object IDs
➥better performance
JSON cannot store:
➞dates properly
➞binary data
➞special types
You write JSON — Mongo stores BSON behind the scenes.
🆔 8️⃣ ObjectId — MongoDB’s Built-in ID System
Every document automatically gets:
_id: ObjectId(...)
Like:
Every passport has a unique number.
Example:
Json
Why ObjectId matters
It encodes:
➡timestamp
➡machine id
➡process id
➡counter
Meaning: IDs are globally unique without central authority.
Like generating unique serial numbers without a server asking permission.
🧠 If MongoDB Didn’t Use ObjectId…
You would need:
➥custom ID logic
➥collision checks
➥UUID packages
➥more overhead
MongoDB removes that burden.
MongoDB structure is like:
Database
↓
Collection
↓
Document
Analogy:
Library
↓
Bookshelf
↓
Book
➤Database
Big container for related data.
Examples:
ecommerceDB,blogDB,chatAppDB
➤Collection
Group of similar documents.
Examples:users,posts,messages
➤Document
Actual data record — stored as JSON-like object.
Example:
Json
{
"name": "Abel",
"email": "abel@mail.com",
"age": 21
}
🧾 7️⃣ BSON vs JSON — Why MongoDB Doesn’t Store Pure JSON
Students often ask: “If MongoDB uses JSON — why mention BSON?”
Because MongoDB actually stores:
BSON = Binary JSON
Think of it like:
➡JSON = readable recipe
➡BSON = compressed packaged food
Why BSON exists
Because databases need:
➥faster reading
➥indexing
➥binary data
➥dates
➥object IDs
➥better performance
JSON cannot store:
➞dates properly
➞binary data
➞special types
You write JSON — Mongo stores BSON behind the scenes.
🆔 8️⃣ ObjectId — MongoDB’s Built-in ID System
Every document automatically gets:
_id: ObjectId(...)
Like:
Every passport has a unique number.
Example:
Json
_id: ObjectId("65f8c1a2e8...")
Why ObjectId matters
It encodes:
➡timestamp
➡machine id
➡process id
➡counter
Meaning: IDs are globally unique without central authority.
Like generating unique serial numbers without a server asking permission.
🧠 If MongoDB Didn’t Use ObjectId…
You would need:
➥custom ID logic
➥collision checks
➥UUID packages
➥more overhead
MongoDB removes that burden.
💥 Week 8 Day 8 — MongoDB Foundations Challenges
🧩 Challenge — MongoDB Environment Setup
✅ Task 1 — Install Local Tools
Install on your machine:
➥MongoDB Community Server
➥MongoDB Compass
Then run:
Bash
mongosh
If it connects → local MongoDB is working ✅
✅ Task 2 — Create Local Databases
Using Compass or mongosh, create:
➥At least 2 databases
➥Each database must have 2 collections
➥Each collection must have at least 2 documents
Example themes: schoolDB, shopDB, blogDB — your choice.
✅ Task 3 — MongoDB Atlas (Cloud)
➞Create a MongoDB Atlas account and:
➞Create a free cluster
➞Create a DB user + password
➞Allow your IP address
➞Connect using Compass
✅ Task 4 — Create Cloud Databases Too
Inside Atlas connection:
➞Create 2 databases
➞2 collections each
➞Add documents inside
When you are done,
💥invite a friend,
and as always —
💥stay well, stay curious, and stay coding ✌️
🧩 Challenge — MongoDB Environment Setup
✅ Task 1 — Install Local Tools
Install on your machine:
➥MongoDB Community Server
➥MongoDB Compass
Then run:
Bash
mongosh
If it connects → local MongoDB is working ✅
✅ Task 2 — Create Local Databases
Using Compass or mongosh, create:
➥At least 2 databases
➥Each database must have 2 collections
➥Each collection must have at least 2 documents
Example themes: schoolDB, shopDB, blogDB — your choice.
✅ Task 3 — MongoDB Atlas (Cloud)
➞Create a MongoDB Atlas account and:
➞Create a free cluster
➞Create a DB user + password
➞Allow your IP address
➞Connect using Compass
✅ Task 4 — Create Cloud Databases Too
Inside Atlas connection:
➞Create 2 databases
➞2 collections each
➞Add documents inside
When you are done,
💥invite a friend,
and as always —
💥stay well, stay curious, and stay coding ✌️
Hey everyone ✌️✌️✌️✌️
I have this Hackaton and I need you to vote me 🤗🙏🤗🙏🥹
Go here
https://v0-v0prompttoproduction2026.vercel.app/browse
and search @messibre under Marketing category -you will get a golden colorized "campaign kit studio" - click vote using your vercel account.
Thanks a lot for your help 🙏🙏🙏🙏🙏
I have this Hackaton and I need you to vote me 🤗🙏🤗🙏🥹
Go here
https://v0-v0prompttoproduction2026.vercel.app/browse
and search @messibre under Marketing category -you will get a golden colorized "campaign kit studio" - click vote using your vercel account.
Thanks a lot for your help 🙏🙏🙏🙏🙏
v0-v0prompttoproduction2026.vercel.app
v0 Prompt → Production Week
A global build week. Real work, shipped by the community. January 31 - February 8, 2026
❤3
Forwarded from Edemy
Before your final year ends, or at least before you graduate, challenge yourself.
Don’t just aim for the degree.
Aim for proof of work.
Have at least:
1. 2–3 solid, real-world projects (not just tutorial copies)
2. Real-world experience
3. At least one deployed project people can actually use
4. A GitHub that shows consistency, not just empty repos
5. Real problems you struggled with and solved
6. Experience working with APIs, databases, authentication, deployment ....
University gives you theory.
The market asks for experience.
@edemy251
Don’t just aim for the degree.
Aim for proof of work.
Have at least:
1. 2–3 solid, real-world projects (not just tutorial copies)
2. Real-world experience
3. At least one deployed project people can actually use
4. A GitHub that shows consistency, not just empty repos
5. Real problems you struggled with and solved
6. Experience working with APIs, databases, authentication, deployment ....
University gives you theory.
The market asks for experience.
@edemy251
❤3
Forwarded from Messi Bre
Yayyyyyyyyyy we made it. Thank you so much everyone who took your time to support me.🙏🙏🥰
❤6
Week 8 Day 2 — Core Database Operations (MongoDB CRUD Mastery)
Alright campers 🔥💙
I hope your database warehouse from Day 1 is still standing strong 😄
Today… we stop just creating shelves and start managing the inventory like real engineers.
If Day 1 was “building the warehouse,”
Today is:
👉 Adding items
👉 Searching items
👉 Updating items
👉 Removing items
👉 Organizing items
This is where MongoDB becomes powerful.
🌳 BIG IDEA — CRUD = The Language of Databases
Every serious application in the world does only four things with data:
C → Create
R → Read
U → Update
D → Delete
That’s it.
Instagram? CRUD.
Banking system? CRUD.
Hospital system? CRUD.
E-commerce? CRUD.
It’s like managing a notebook:
➞Write something new
➞Read what’s written
➞Edit a line
➞Erase a line
Databases are just advanced notebooks.
We’ll use this imaginary database:
shopDB
↓
products collection
Example document:
🟢 1️⃣ Insert Operations — Adding Data
Imagine you just bought new products for your shop.
You need to place them on shelves.
➤Insert One
➤Insert Many
🔵 2️⃣ Find Queries — Reading Data
Reading is the most common operation in real apps. Users browse. Search. Filter.
➤Find All
➤Find with Condition (Query Filter)
🧠 Query Filters (Deep Understanding)
Filters are conditions.
MongoDB supports operators like:
➤Greater Than
$gt = greater than
➤Less Than
➤Not Equal
🟡 3️⃣ Field Projection — Choosing What to See
By default, MongoDB shows everything.
But sometimes you only need specific fields.
This means:
Show only name and price.
🟣 4️⃣ Sorting — Organizing Results
You don’t want random order.
➤Sort Ascending
1 = ascending
➤Sort Descending
🟠 5️⃣ Limiting — Show Only First N
Used in:
➞Pagination
➞Featured items
➞Top results
🟤 6️⃣ Skipping — Jump Over Results
Like:Ignore first 3 items.
Now combine skip + limit:
This is pagination.
Like: Page 2 of search results.
🟢 7️⃣ Distinct Values — Unique Entries
Returns:
["Electronics", "Furniture"]
Used for:
➛Filter dropdown menus
➛Analytics
➛Category listings
Alright campers 🔥💙
I hope your database warehouse from Day 1 is still standing strong 😄
Today… we stop just creating shelves and start managing the inventory like real engineers.
If Day 1 was “building the warehouse,”
Today is:
👉 Adding items
👉 Searching items
👉 Updating items
👉 Removing items
👉 Organizing items
This is where MongoDB becomes powerful.
🌳 BIG IDEA — CRUD = The Language of Databases
Every serious application in the world does only four things with data:
C → Create
R → Read
U → Update
D → Delete
That’s it.
Instagram? CRUD.
Banking system? CRUD.
Hospital system? CRUD.
E-commerce? CRUD.
It’s like managing a notebook:
➞Write something new
➞Read what’s written
➞Edit a line
➞Erase a line
Databases are just advanced notebooks.
We’ll use this imaginary database:
shopDB
↓
products collection
Example document:
{
name: "Laptop",
price: 1000,
category: "Electronics",
inStock: true
}
🟢 1️⃣ Insert Operations — Adding Data
Imagine you just bought new products for your shop.
You need to place them on shelves.
➤Insert One
db.products.insertOne({
name: "Phone",
price: 500,
category: "Electronics",
inStock: true
})
➤Insert Many
db.products.insertMany([
{ name: "Mouse", price: 20, category: "Electronics" },
{ name: "Chair", price: 150, category: "Furniture" }
])
🔵 2️⃣ Find Queries — Reading Data
Reading is the most common operation in real apps. Users browse. Search. Filter.
➤Find All
db.products.find()
➤Find with Condition (Query Filter)
db.products.find({ category: "Electronics" })
🧠 Query Filters (Deep Understanding)
Filters are conditions.
MongoDB supports operators like:
➤Greater Than
db.products.find({ price: { $gt: 100 } })
$gt = greater than
➤Less Than
{ price: { $lt: 200 } }
➤Not Equal
{ category: { $ne: "Furniture" } }
🟡 3️⃣ Field Projection — Choosing What to See
By default, MongoDB shows everything.
But sometimes you only need specific fields.
db.products.find({}, { name: 1, price: 1 })
This means:
Show only name and price.
🟣 4️⃣ Sorting — Organizing Results
You don’t want random order.
➤Sort Ascending
db.products.find().sort({ price: 1 })
1 = ascending
➤Sort Descending
.sort({ price: -1 })
🟠 5️⃣ Limiting — Show Only First N
db.products.find().limit(3)
Used in:
➞Pagination
➞Featured items
➞Top results
🟤 6️⃣ Skipping — Jump Over Results
db.products.find().skip(3)
Like:Ignore first 3 items.
Now combine skip + limit:
db.products.find().skip(3).limit(3)
This is pagination.
Like: Page 2 of search results.
🟢 7️⃣ Distinct Values — Unique Entries
db.products.distinct("category")
Returns:
["Electronics", "Furniture"]
Used for:
➛Filter dropdown menus
➛Analytics
➛Category listings
🔥1
🔵 8️⃣ Update Operations — Editing Data
➤Update One
$set means:
Change only this field. Without $set? MongoDB replaces entire document.Very dangerous.
➤Update Many
🔴 9️⃣ Delete Operations — Removing Data
➤Delete One
➤Delete Many
❗️Be careful. Delete is permanent.
🟡 🔟 Bulk Operations — Multiple Actions Together
Sometimes you want to:
➡Insert some
➡Update some
➡Delete some
In one request.
MongoDB supports bulkWrite.
Used in:
➥Migrations
➥Data imports
➥Large system updates
Example structure:
🧠 Why Mastering This Matters
Because when we connect MongoDB to Express:
Your API endpoints will simply wrap these commands.
POST → insert
GET → find
PUT → update
DELETE → delete
CRUD is the engine behind every backend.
➤Update One
db.products.updateOne(
{ name: "Phone" },
{ $set: { price: 550 } }
)
$set means:
Change only this field. Without $set? MongoDB replaces entire document.Very dangerous.
➤Update Many
db.products.updateMany(
{ category: "Electronics" },
{ $set: { inStock: false } }
)
🔴 9️⃣ Delete Operations — Removing Data
➤Delete One
db.products.deleteOne({ name: "Mouse" })
➤Delete Many
db.products.deleteMany({ category: "Furniture" })
❗️Be careful. Delete is permanent.
🟡 🔟 Bulk Operations — Multiple Actions Together
Sometimes you want to:
➡Insert some
➡Update some
➡Delete some
In one request.
MongoDB supports bulkWrite.
Used in:
➥Migrations
➥Data imports
➥Large system updates
Example structure:
db.products.bulkWrite([
{ insertOne: { document: { name: "Desk", price: 200 } } },
{ updateOne: { filter: { name: "Phone" }, update: { $set: { price: 600 } } } },
{ deleteOne: { filter: { name: "Chair" } } }
])
🧠 Why Mastering This Matters
Because when we connect MongoDB to Express:
Your API endpoints will simply wrap these commands.
POST → insert
GET → find
PUT → update
DELETE → delete
CRUD is the engine behind every backend.
🔥1
💥 Week 8 Day 2 — Core Database Operations Challenges (Medium)
Alright campers 🔥💙
Time to combine your CRUD powers. Use mongosh or Compass.
🧩 Challenge 1 — Store Inventory
Create:
storeDB → products
➞Add at least 10 products using insertMany()
➞Fields: name, price, category, inStock, rating
➞Query Electronics only
price > 300
rating < 3
➞Show only name + price (projection)
➞Sort by price (descending)
➞Skip 5 + limit 5
➞Increase price of Electronics
➞Set inStock = false for rating < 2
➞Delete one product by name
➞Delete all out-of-stock products
🧩 Challenge 2 — Student Analyzer
Create:
schoolDB → students
➡Insert At least 12 students
➡Fields: name, age, department, gpa, graduated
➡Query
gpa > 3.5
not graduated
distinct departments
➡sort by gpa (desc)
➡show only name + gpa
➡Increase GPA for Computer Science students
➡Set graduated = true for gpa > 3.7
➡Remove students with gpa < 2.0
🧩 Challenge 3 — Blog Bulk Operations
Create:
blogDB → posts
➡Insert At least 8 posts
➡Fields: title, author, views, category, published
➡BulkWrite (single command)
➛Insert 2 posts
➛Update views of one
➛Publish one draft
➛Delete one post
➛Query
views > 100
➛sort by views (desc)
➛top 3 posts
When you are done,
💥 Share your solutions ,
💥invite a friend,
and as always —
💥stay well, stay curious, and stay coding ✌️
Alright campers 🔥💙
Time to combine your CRUD powers. Use mongosh or Compass.
🧩 Challenge 1 — Store Inventory
Create:
storeDB → products
➞Add at least 10 products using insertMany()
➞Fields: name, price, category, inStock, rating
➞Query Electronics only
price > 300
rating < 3
➞Show only name + price (projection)
➞Sort by price (descending)
➞Skip 5 + limit 5
➞Increase price of Electronics
➞Set inStock = false for rating < 2
➞Delete one product by name
➞Delete all out-of-stock products
🧩 Challenge 2 — Student Analyzer
Create:
schoolDB → students
➡Insert At least 12 students
➡Fields: name, age, department, gpa, graduated
➡Query
gpa > 3.5
not graduated
distinct departments
➡sort by gpa (desc)
➡show only name + gpa
➡Increase GPA for Computer Science students
➡Set graduated = true for gpa > 3.7
➡Remove students with gpa < 2.0
🧩 Challenge 3 — Blog Bulk Operations
Create:
blogDB → posts
➡Insert At least 8 posts
➡Fields: title, author, views, category, published
➡BulkWrite (single command)
➛Insert 2 posts
➛Update views of one
➛Publish one draft
➛Delete one post
➛Query
views > 100
➛sort by views (desc)
➛top 3 posts
When you are done,
💥 Share your solutions ,
💥invite a friend,
and as always —
💥stay well, stay curious, and stay coding ✌️
🔥1