Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 724 Bytes

File metadata and controls

40 lines (27 loc) · 724 Bytes
# Next.js + Node.js CRUD With Real-Time Updates This project contains: - `frontend`: a Next.js app for creating, viewing, editing, and deleting items - `backend`: a Node.js API that exposes CRUD endpoints and streams real-time updates with Server-Sent Events ## Run locally Install dependencies from the repository root: ```bash npm install ``` Start the backend in one terminal: ```bash npm run dev:backend ``` Start the frontend in another terminal: ```bash npm run dev:frontend ``` ## Ports - Frontend: `http://localhost:3000` - Backend: `http://localhost:4000` If needed, override the frontend API URL with: ```bash NEXT_PUBLIC_API_BASE_URL=http://localhost:4000 ``` # Real-time_Update