Juanchi.dev
Digital Native · real systems
·
HomeCasesCVBlogLabContact
Skip to content
Juanchi.dev
Digital Native · real systems
·
HomeCasesCVBlogLabContact

Tag: nextjs

36
Sep 09 2026

Claude API Key Security: Why .env Is Not Optional

Pasting a Claude or DeepSeek API key straight into your code "just to test it quick" leaves a trail in your git history and your logs. A no-nonsense guide to environment variables, rotation, and what to check before sharing a repo.

Sep 09 2026 · 7′ · Tutorials · nextjs · anthropic

7′
Aug 14 2026

tsconfig paths in Next.js 16 App Router: when they help and when they silently break the build

Path aliases look innocent until the production build fails with no clear message. I documented the 3 most common breakage cases in a monorepo with Next.js 16 App Router and strict TypeScript, and the config pattern that survived.

Aug 14 2026 · 9′ · Tutorials · TypeScript · pnpm

9′
Jul 22 2026

DeepSeek API in TypeScript: secure integration and honest model evaluation for code

DeepSeek's API is compatible with the OpenAI SDK — that makes the integration almost trivial. The real problem isn't the plumbing. It's deciding whether the model is actually worth it for your use case, without buying the hype or dismissing it out of fashion. Here's the framework.

Jul 22 2026 · 8′ · Tutorials · TypeScript · nextjs

8′
Jun 22 2026

Rate limiting in Next.js: what to protect before picking a library

Rate limiting isn't an npm dependency — it's an abuse policy. Before copying middleware, you need to define what asset you're protecting, what abuse pattern you expect, and what a false positive costs you. A guide with a decision matrix, real gotchas, and observability for Next.js.

Jun 22 2026 · 9′ · Tutorials · TypeScript · nextjs

9′
Jun 22 2026

How I built a self-auditing editorial pipeline with AI

The README on juanchi.dev says "portfolio landing". The code says something else: an editorial system with repo ingestion, quality gate, automatic rewriting, and crons on Railway. The technical story the README doesn't tell.

Jun 22 2026 · 6′ · Next.js · TypeScript

6′
Jun 18 2026

OAuth 2.0 Scope Creep: the Attack Vector the Vercel Incident Exposed and How to Audit It in Your Integrations

The Vercel incident wasn't a technical vulnerability — it was a least-privilege failure applied to OAuth. Break down what scope creep is, how to audit it in existing integrations, and what architectural controls prevent a third party from accumulating permissions it doesn't need.

Jun 18 2026 · 11′ · Tutorials · TypeScript · nextjs

11′
Jun 17 2026

OpenTelemetry in Next.js: traces that survive the edge/server boundary without losing context

OpenTelemetry in Next.js works, but the default propagator silently breaks the trace at the edge/node boundary. Here's what you need to configure explicitly so context doesn't vanish between Middleware, Server Components, and Server Actions.

Jun 17 2026 · 8′ · Tutorials · TypeScript · nextjs

8′
Jun 14 2026

Authentication tokens: JWT, Paseto, and session tokens — the decision tree I always needed

There's no such thing as the perfect token — only the right token for your system's threat model. A practical decision tree with real technical judgment for choosing between JWT, Paseto v4, and opaque session tokens in TypeScript. No dogma, no made-up benchmarks.

Jun 14 2026 · 9′ · Tutorials · TypeScript · nextjs

9′
Jun 13 2026

Zod on the server and the client: the schema you define once and the three ways it breaks in runtime

Zod sells itself as "define once, validate everywhere." In Next.js 16 with Server Actions, edge middleware, and API routes, that's only partially true. Three concrete failure modes and the pattern that prevents them.

Jun 13 2026 · 8′ · Tutorials · TypeScript · produccion

8′

Series

  • Open Data and Creativity2
  • Awesome Curated: The Tools11
  • Awesome Curated1
See all

Clusters

  • Software architecture
  • TypeScript in production
  • Security and operations
  • Agents and LLMs with judgment

Categories

  • Experiments99
  • Tutorials93
  • Opinion44
  • Reflections18
  • Technology8
  • History6

Tags

  • #TypeScript
  • #arquitectura
  • #nextjs
  • #railway
  • #java
  • #LLM
  • #postgresql
  • #ia
  • #prisma
  • #software-architecture
  • #firma-digital
  • #AI

Popular

  1. 01pnpm vs npm vs yarn vs bun: The Real Comparison Nobody Gives You in 2025
  2. 02Next.js App Router: The Guide I Wish I Had When I Migrated from Pages Router
  3. 03TypeScript: The Patterns I Actually Use Every Single Day
  4. 04Docker for Node.js Developers: From Zero to Production Without Losing Your Mind
  5. 05Your Digital Signing Cryptography Has an Expiration Date: What NIST Published and How to Migrate Your HSM

Newsletter

One email a week. What I'm learning, building, and breaking.

All
Experiments
Tutorials
Opinion
Reflections
Technology
History

Juanchi.dev is Juan Torchia’s public notebook — architecture, real systems and product decisions. Written and reviewed by hand in Buenos Aires. Built with Next.js, Prisma and PostgreSQL; deployed on Railway. No third-party trackers beyond aggregate analytics.

GitHubRSS© 2026 Juan Torchia · All rights reserved.

Real code. Unfiltered takes.

Architecture, real systems, product decisions and technical lessons. Everything reviewed with my own judgment before it ships.

230 articles published

Series

  • Open Data and Creativity2
  • Awesome Curated: The Tools11
  • Awesome Curated1
See all

Clusters

  • Software architecture
  • TypeScript in production
  • Security and operations
  • Agents and LLMs with judgment

Categories

  • Experiments99
  • Tutorials93
  • Opinion44
  • Reflections18
  • Technology8
  • History6

Tags

  • #TypeScript
  • #arquitectura
  • #nextjs
  • #railway
  • #java
  • #LLM
  • #postgresql
  • #ia
  • #prisma
  • #software-architecture
  • #firma-digital
  • #AI

Popular

  1. 01pnpm vs npm vs yarn vs bun: The Real Comparison Nobody Gives You in 2025
  2. 02Next.js App Router: The Guide I Wish I Had When I Migrated from Pages Router
  3. 03TypeScript: The Patterns I Actually Use Every Single Day
  4. 04Docker for Node.js Developers: From Zero to Production Without Losing Your Mind
  5. 05Your Digital Signing Cryptography Has an Expiration Date: What NIST Published and How to Migrate Your HSM

Newsletter

One email a week. What I'm learning, building, and breaking.

Blog
Uses
Now