Full Stack Camp
Kanalga Telegramāda oātish
Fullstack Camp | Learn. Build. Launch. Join us for a hands-on journey through HTML, CSS, JavaScript, React, Node.js, Express & MongoDB ā all in one place. Use this bot to search for lessons. @FullstackCamp_assistant_bot DM: @Tarikey6
Ko'proq ko'rsatishMamlakat belgilanmaganToif belgilanmagan
235
Obunachilar
Ma'lumot yo'q24 soatlar
+37 kunlar
+530 kunlar
Postlar arxiv
šµ 8ļøā£ Update Operations ā Editing Data
ā¤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.
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:
{ 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
Repost from Messi Bre
Yayyyyyyyyyy we made it. Thank you so much everyone who took your time to support me.ššš„°
Repost 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
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 ššššš
š„ Week 8 Day 1 ā 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 āļø
š 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
_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 1 ā 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
mongoshIf 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 databaseJs
use schoolDBMongoDB 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()
Apologies for the pause this month; finals and projects have been overwhelming. We'll get started soon!
Repost 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
Repost 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
Repost 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
šāØ 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! šš»š
Repost from Edemy
Real experience doesnāt come from watching more tutorials. It comes from building, thinking, and solving real problems. Tutorials are useful at the beginning, but staying there too long gives a false sense of progress. You may understand concepts, but you donāt truly learn until you apply them on your own.
The best way to gain experience is to start with a problem you actually see or face. It can be something small, a task you repeat every day, a manual process, or a tool you wish existed. Start there. Google similar ideas, read how others solved it, and then try to build your own version. It doesnāt need to be perfect. What matters is that the decisions are yours.
When you work on your own project, learning becomes real. You think about structure, logic, edge cases, and how things behave in real situations. You get stuck, search for answers, read documentation, try again, and improve. This is exactly how professional developers work.
Spending too much time watching tutorials without writing code keeps your hands clean, but experience comes when your hands get dirty. Writing imperfect code, fixing it, and improving it over time teaches you far more than any video can.
Experience is built by doing real work, not by waiting to feel ready. Start small, build something real, and learn along the way.
@edemy251
Repost from Edemy
Things Feel Hard Until You Actually Start
In tech, many things sound difficult long before we ever try them.
Before learning Docker, I already believed it would be complicated
not because I had worked with it, but because of how people talked about it.
Just hearing terms like image, container, and DevOps workflows made it feel heavy.
But once I started learning Docker and using it in a project, it was far more understandable than I expected.
Most of the confusion faded once I stopped listening and started doing.
This isnāt only about Docker.
The same thing happens for other terms.
From the outside, things look overwhelming.
Once youāre inside them, they turn into clear steps you can work through.
The real issue is that many juniors never reach that point.
They stop at the idea of difficulty.
We often hear experienced engineers talk in advanced terms,
and we forget that they also started by not understanding much.
Fear usually comes from: not starting, overthinking, and comparing yourself to people who are further along
So the solution is to start even if things are not clear yet.
If youāre a junior:
donāt let technical language scare you
donāt wait until everything feels clear
start small and learn as you go
You donāt need full clarity to begin.
You gain clarity by starting.
Most projects look difficult
until you sit down and actually work on them.
Thatās where learning really happens.
@edemy251
š„š„ Project 7 ā Job Listing Platform
š Hey Campers! Welcome to Project 7 š
I hope youāre doing well, staying consistent, and coding even when it feels hard šŖ
Youāve come a LONG way ā from basic JavaScript to Express and APIs.
Now itās time to combine everything into a real-world style project.
This time, Weāre building a simple job listing website, similar to platforms where people post jobs and others browse or apply-- Using HTML, CSS, JavaScript, Node.js, Express
āFocus on logic, structure, and clarity, not perfection
šÆ Project Goal
To practice:
āBackend logic with Express
āCRUD operations (Create, Read, Update, Delete)
āHandling users and jobs
āFrontend ā Backend communication
āClean UI using plain HTML & CSS
āProject organization and debugging
š§© Core Features (Must Have)
š¤ 1ļøā£ User Accounts (Simple Version)
Users should be able to:
ā¤Create an account (username + email is enough)
ā¤Log in (no advanced auth yet ā keep it simple)
ā¤Stay logged in during the session (basic logic)
š” Think: āWho is using my app right now?ā
š§āš» 2ļøā£ Job Posting
Logged-in users can:
ā¤Post a new job
Each job should include:
āJob title, Company name, Job description, Location (optional),Date posted
ā¤Each job should belong to one user.
š 3ļøā£ Job Listings Page
All users (even not logged in) can:
ā¤See a list of all jobs
ā¤View job details clearly
ā¤Understand who posted the job
āļø 4ļøā£ Update & Delete Jobs
Only the job owner can:
ā”Edit their job
ā”Delete their job
š” Think carefully about:
āWho is allowed to do what?ā
š 5ļøā£ Backend API
Your backend should support:
āCreating users
āCreating jobs
āFetching all jobs
āFetching single job
āUpdating job
āDeleting job
Use:
āFile-based storage (JSON) for now
āClean error messages
š UI Expectations (Frontend)
your UI should:
āBe easy to understand
āHave clear buttons and forms
āShow success & error messages
āNot look cluttered
Examples of pages:
ā£Home / Job List
ā£Login / Register
ā£Post Job
ā£My Jobs
š” Simple ā ugly
š± Optional Features (Bonus ā If You Can)
āSearch jobs by title or company
āFilter jobs by location
āShow āMy Jobsā page
āShow number of jobs posted
āConfirmation before deleting a job
š§ Hints š
ā£Think about data structure before coding
ā£Decide:
āHow users are stored
ā How jobs reference users
āBuild backend routes first
āThen connect frontend
āTest each feature step by step
Small steps ā big progress.šš
š Debugging Checklist (VERY IMPORTANT)
Before asking for help, check:
ā
Server starts without crashing
ā
Routes respond correctly
ā
JSON files are valid
ā
Data saves after refresh
ā
Only owners can edit/delete jobs
ā
Errors are handled cleanly
ā
UI updates after actions
ā
No duplicate IDs
ā
Console logs make sense
If something breaks: š slow down
š log values
š isolate the problem
This is how real developers work.
When youāre done building your project:
š„ Push to GitHub ā
š„ Deploy with GitHub Pages / Netlify š
š„ Share your repo + live demo with us š
š„invite a friend,
and as always ā
š„stay well, stay curious, and stay coding āļø
Repost from STEM with Murad šŖš¹
Why So Many People Quit Coding (Even When They Love It)
Letās be honest.
Nobody starts learning how to code and thinks,
āYay! I canāt wait to be frustrated and overwhelmed!ā š©
But somewhere between writing your first hello world and facing your 10th error in one hourā¦
People start to tap out.
Hereās why people give up on their coding journey:
1. They want it fast, not deep.
They want to ālearn fast and get a tech job in 3 weeks.ā
But coding is a process. Not magic.
You have to understand the logic, not just memorize tutorials.
2. Tutorial Hell is real.
They hop from one YouTube video to the next without building anything.
It feels productive, but it's just digital procrastination.
3. Impostor syndrome creeps in.
They compare themselves to someone on LinkedIn who built an app in 1 month.
They forget that theyāre on chapter 2, comparing it to someone elseās chapter 20.
4. No accountability.
When nobody is checking in on you, itās easy to ārestā for one day...
Then that day becomes a month.
Then the dream dies a quiet death.
5. They donāt know why theyāre learning.
If your only reason is ātech pays well,ā
the first moment it gets hard, youāll start asking yourself:
āIs this even worth it?ā
But when you have a clear WHY you push through the discomfort.
Coding will stretch you. It will test your patience.
But it will also grow you. It will open doors.
Not everyone who starts finishes.
But everyone who finishes will tell you it was 1000% worth it.
So, before you quit, ask yourself:
Did I really give it my all⦠or did I give up when it got uncomfortable?
Youāre not behind.
Youāre not too late.
You just need to start again with clarity and consistency.
š» Keep going. The future still needs your code.
