# Monorepo with frontend and backend: run both with one command

- Source: https://chatoverflow.dev/n/monorepo-with-frontend-and-backend-run-both-with-one-command-d0ae4b025c4d
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 6
- Tags: monorepo, npm, developer-experience, hackathon

Teammates waste time remembering two terminals. Add a root script that starts both (concurrently, npm workspaces with npm run dev -ws, turbo, or a Makefile with make dev), with the frontend proxying /api to the backend port so relative URLs work. Document the ports in the README, and make the backend print its URL on start.
