Build From Code

Build From Code

Share

Building real-world web development projects with React, Next.js & Supabase.

Photos from Build From Code's post 22/08/2026

🌐 What’s Inside "req: Request"?

Ever wondered what you can actually do with the "Request" object in a Next.js/Web API route? These two infographics break it downβ€”from "req.method", "req.url", headers, and URL parameters to powerful operations like "req.json()", "req.formData()", "req.arrayBuffer()", "req.clone()", "req.bodyUsed", and "req.signal".

πŸ“Œ Save these as a quick reference for building APIs, and share them with a developer who works with Next.js or Web APIs.

20/08/2026

πŸ˜‚ HTTP Status Codes as Developer Emotions

What if HTTP status codes could actually express how the server feels? πŸ˜…

From 200 β€” β€œEverything is fine.” 😎 to 404 β€” β€œIt was here a second ago.” πŸ‘» and 500 β€” β€œPlease don’t look at the server.” πŸ”₯, this infographic turns familiar status codes into developer emotions.

🟒 2xx β€” Happy server
πŸ”΅ 3xx β€” β€œFollow me.”
🟠 4xx β€” β€œSomething’s wrong with your request.”
πŸ”΄ 5xx β€” β€œSomething went wrong on my side.”
πŸ«– 418 β€” β€œI’m a teapot.” πŸ˜‚

πŸ“Œ Save it for your next debugging session.
πŸ’¬ Which HTTP status code best describes your day as a developer?

Photos from Build From Code's post 16/08/2026

⚑ THE HIDDEN SUPABASE OPERATIONS β€” Basics + Advanced

Supabase looks simple on the surface, but underneath it is PostgreSQL, and that means there are plenty of powerful operations that many developers never use.

We created a 2-part infographic series covering useful Supabase operationsβ€”from everyday techniques to more advanced database-powered workflows.

πŸ“˜ Part 1 β€” Basics
β€’ ".upsert()" with "onConflict"
β€’ ".contains()"
β€’ ".overlaps()"
β€’ ".textSearch()"
β€’ ".maybeSingle()"
β€’ ".explain()"
β€’ ".rpc()"

βš”οΈ Part 2 β€” Advanced
β€’ Advanced ".filter()" operators
β€’ ".order()" with NULL handling
β€’ Pagination with ".range()" and counts
β€’ Complex ".rpc()" parameters
β€’ Realtime subscriptions with filters
β€’ Conflict-safe ".upsert()"
β€’ Returning deleted rows

πŸ’‘ The real advantage?
You can often move complex logic closer to PostgreSQL instead of writing unnecessary application-side code.

πŸ“Œ Save both infographics for your Supabase toolkit.
πŸ‘¨β€πŸ’» Share them with a developer working with Supabase.
πŸ’¬ Which Supabase operation surprised you the most?

14/08/2026

πŸ˜‚ A Developer’s Debugging Process β€” because every bug starts with β€œThis makes no sense” and somehow ends with 47 console.log() statements.

From reading the error and searching Stack Overflow to fixing the bug, deleting 46 logs, and keeping one β€œjust in case” β€” the debugging journey is basically confusion β†’ investigation β†’ frustration β†’ victory. πŸ›βž‘οΈπŸ†

Photos from Build From Code's post 12/08/2026

πŸ“œβš”οΈ THE ANCIENT GIT SCROLLS β€” Rare but Powerful Git Commands

Not every Git command is famous. Some are hidden in the ancient scrolls… waiting for the developer who really needs them. πŸ§™β€β™‚οΈ

We've put together 3 parts of rare but genuinely useful Git commands that can save time, recover mistakes, and make your workflow much cleaner.

🏰 Part I
β€’ "git stash push --staged"
β€’ "git commit --amend --no-edit"
β€’ "git restore --staged"
β€’ "git reflog"
β€’ And more...

βš”οΈ Part II
β€’ "git cherry-pick"
β€’ "git show"
β€’ "git diff --staged"
β€’ "git clean -nd"
β€’ "git blame"
β€’ "git bisect"

πŸ§™ Part III
β€’ Advanced stash techniques
β€’ "git switch"
β€’ "git rebase --autosquash"
β€’ "git worktree"
β€’ And other powerful tools

πŸ’‘ You don't need to memorize every Git command. But knowing the right command at the right moment can save you hours of debugging and frustration.

πŸ“Œ Save all 3 parts. You never know when one of these ancient spells will save your code.

πŸ”₯ Which command was new to you?

10/08/2026

πŸ™ Git Commands Every Developer Should Know

Git is more than just version controlβ€”it's an essential tool for collaborating, tracking changes, and managing your code with confidence.

Whether you're just starting your development journey or working on large team projects, mastering these core Git commands will make your workflow faster and more efficient.

πŸ“Œ In this infographic, you'll learn:
βœ… "git clone" – Copy a remote repository to your local machine
βœ… "git add" – Stage your changes
βœ… "git commit" – Save your changes with a meaningful message
βœ… "git push" – Upload commits to a remote repository
βœ… "git pull" – Fetch and merge the latest changes
βœ… "git branch" – Create and manage branches
βœ… "git merge" – Combine changes from different branches
βœ… "git rebase" – Keep your commit history clean and linear

πŸ’‘ Pro Tips:
β€’ Commit small and often.
β€’ Write clear, descriptive commit messages.
β€’ Pull before you push.
β€’ Use meaningful branch names.

πŸ“Œ Save this infographic for quick reference, and share it with developers who want to level up their Git skills!

πŸ’¬ Which Git command do you use the most? Let us know in the comments.

Photos from Build From Code's post 04/08/2026

⌨️ VS Code Keyboard Shortcuts Every Developer Should Know (Part 1 & Part 2)

Stop reaching for your mouse every few seconds. πŸš€

Learning just a handful of keyboard shortcuts can significantly speed up your coding workflow, improve focus, and make you more productive in Visual Studio Code.

In this 2-part cheat sheet, you'll discover shortcuts for:
πŸ“‚ File & Workspace
✏️ Editing
πŸ” Navigation
🧠 Code Intelligence
πŸ–₯️ Terminal
⚑ Productivity

πŸ’‘ Remember: You don't need to memorize everything at once. Start with 5–10 shortcuts, use them daily, and they'll soon become second nature.

πŸ“Œ Save these infographics for quick reference.
πŸ‘¨β€πŸ’» Share them with your fellow developers.
πŸ’¬ Which VS Code shortcut do you use the mostβ€”or which one did you just learn today?

26/07/2026

🌐 HTTP Status Codes Explained

Have you ever wondered what those numbers like 200, 404, or 500 actually mean?

HTTP status codes are the language your browser and servers use to communicate. Understanding them can help you debug faster, build better APIs, and become a more confident developer.

Here's a quick breakdown:
🟒 2xx – Success (Everything worked)
πŸ”΅ 3xx – Redirection (Go somewhere else)
🟠 4xx – Client Error (There's an issue with the request)
πŸ”΄ 5xx – Server Error (Something went wrong on the server)

πŸ’‘ Golden Rule:
4xx = Fix your request
5xx = Fix your server

Save this infographic for quick reference, and share it with fellow developers who are learning web development!

πŸ’¬ Which HTTP status code do you encounter the most while coding? Let us know in the comments.

19/07/2026

πŸ”’ Never Trust User Input.

Every input field is a potential entry pointβ€”not just for users, but for attackers.

Whether you're building a simple website or a large-scale application, validating and sanitizing user input is one of the most important security practices. A single unchecked input can lead to vulnerabilities like SQL Injection, Cross-Site Scripting (XSS), Command Injection, or Path Traversal.

πŸ’‘ Golden Rule:
Trust no input. Verify everything.

Security isn't something you add laterβ€”it's something you build from the beginning.

πŸ“Œ Save this infographic for future reference.
πŸ’¬ Which input validation technique do you use most often? Share your thoughts in the comments!

16/07/2026

Confused between `map()` and `forEach()` in JavaScript? πŸ€”

In this video, you'll learn the key difference in simple Hinglish with practical examples.

βœ… `forEach()` β†’ Executes a function for each element but **doesn't return a new array**.

βœ… `map()` β†’ Creates and **returns a new array** by transforming each element.

πŸ’‘ Rule to remember:
β€’ Need to transform data? β†’ Use `map()`
β€’ Just need to loop or perform an action? β†’ Use `forEach()`

If you're learning JavaScript, React, Next.js, or web development, follow **Build From Code** for quick coding tutorials, tips, and programming concepts.

Address

Lala
Hailakandi
788163