karan
Software engineer who builds the platforms other engineers build on. Web, mobile and real-time systems. I turn recurring friction into tools and conventions.
rolesoftware engineerexp4 yearsbasedMumbaistackTypeScript · NextJS · React Native · Node · Pythonbuildingweb + mobile from one foundation
latest
- Problem: I thought WordPress and Next.js couldn’t share one server. I assumed each app brings its own web server (Apache for WordPress, Nginx for Next.js), that both need port 80, and that only one process can listen on it.
Solution: Neither app needs its own web server on port 80. WordPress needs PHP, which Nginx or Caddy run through PHP-FPM. Next.js ships its own Node server and runs on a separate port (3000 by default). One web server on port 80 sits in front and routes each request to the right app, some paths to WordPress and others to Next.js. Apache, Nginx or Caddy can all do this, so the choice was about effort and fit, never possibility.til
talks
- 2023-09Next Generation eCommerce Platform with ERPNext Frappeverse · with Atul Agrawal
elsewhere
- githubgithub.com/k-t18
- rss/rss.xml