This is a simple local proxy server built with Node.js and Express. It serves two main purposes:
- API Proxy: Routes API requests from
/api
to a Laravel backend running onhttp://localhost:8000
, ensuring the/api
prefix is always included. - Frontend Proxy: Proxies all other requests to a React development server running on
http://localhost:8080
.
The server listens on http://localhost:3000
.