Read a local JSON file with Node.js, distinguish syntax errors from invalid fields, and save a checked copy without overwriting the original.
DevCircle Resources
Practical project notes for software learners.
- Website
- developercircleresources.com · all feeds from this site
- Feed URL
https://developercircleresources.com/rss.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
JSON (JavaScript Object Notation): parse and validate a file
-
Node version manager: install nvm and pin a project runtime
Install nvm on macOS, Linux, or WSL, select Node.js 24 for a project, and diagnose a terminal that keeps running the wrong version.
-
Semantic HTML: build a page that makes sense
A complete workshop page with useful landmarks, a real heading outline, and a keyboard check.
-
CSS Grid: a responsive project gallery
Build a gallery that changes columns without brittle breakpoints, then test long titles and narrow screens.
-
JavaScript DOM manipulation: an accessible task list
Create, complete, and remove tasks with native controls, safe text insertion, and an announced count.
-
JavaScript fetch: handle HTTP errors and cancellation
Read a local JSON file, distinguish a failed request from a failed HTTP response, and cancel stale work.
-
JavaScript localStorage: save progress without losing the page
Save a versioned list of completed lessons, recover from invalid data, and make clearing progress explicit.
-
A Node.js HTTP server with clear routes and shutdown
Build a small JSON server using the standard library, inspect status codes, and close it cleanly.
-
REST API tutorial: validation before persistence
Design a small notes endpoint with a bounded request body, explicit errors, and predictable status codes.
-
Dockerize a Node.js application and check the running container
Package a tiny server, run it as an unprivileged user, and check the deployed process before opening traffic.
-
Python venv: an environment you can recreate
Create an isolated environment, prove which interpreter is running, and keep dependencies out of Git.
-
Read CSV in Python without guessing the data types
Parse a small order export, validate each record, and calculate totals without floating-point money errors.
-
Pandas data cleaning with an audit trail
Normalize a deliberately messy order file while separating rejected records from accepted observations.
-
Pandas groupby: counts, totals, and missing groups
Make a small sales summary and explain why size, count, and sum can answer different questions.
-
Pandas merge: prevent accidental row multiplication
Join orders to customers with explicit keys, cardinality validation, and a report of unmatched records.
-
Python SQLite: transactions and parameterized queries
Create a small expense database, insert safely, and prove a failed transaction does not leave partial work.
-
SQL joins: keep the customers who have no orders
Compare inner and left joins on a tiny reproducible database, including the filter that changes your result.
-
SQL GROUP BY: make the unit of analysis explicit
Build a category report with COUNT, SUM, HAVING, and deterministic ordering on a supplied dataset.
-
SQL window functions: running totals without losing rows
Use a stable row order and an explicit frame to calculate a running total and rank within each account.
-
Python data analysis projects: choose a task, build a CSV report
Compare three small Python data analysis projects, then turn a supplied CSV into a checked report with rejected rows, totals, and a source fingerprint.