This server must be running before starting the client application. The client connects to this server at http://localhost:3000.
- Node.js (v14.0.0 or newer)
- npm or yarn
git clone https://github.com/ahref13/existential_server.git
# or download and extract the ZIP fileNavigate to the project directory and install dependencies:
cd liminal-network-server
npm installnode index.jsYou should see the following output in your console:
Liminal Network Space server running at http://localhost:3000
Ready to receive requests and respond with random delays and status codes
The server is designed to:
- Listen for HTTP requests on port 3000
- Introduce a random delay between 3-15 seconds for each request
- Respond with a random HTTP status code (100-599)
- Port Already in Use: If port 3000 is already being used, you'll need to change the port in the server code and update the client accordingly
- Connection Issues: Ensure there are no firewall rules blocking connections to port 3000