This repository contains the backend services for the Deathrun Game, built using Socket.io and Express.JS.
To install and run the backend locally, follow these steps:
-
Clone the repository:
git clone https://github.com/CodingFactory-Repos/deathrun-backend.git
-
Navigate to the project directory:
cd deathrun-backend
-
Install the dependencies using pnpm:
pnpm install
-
Start the server:
pnpm start
-
The backend server will run on
http://localhost:4000
.
The backend manages real-time communication between the player and the trap setter, ensuring synchronized gameplay.
- Real-time Communication: Supports player and trap setter interaction via WebSockets.
- Multiplayer Support: Allows multiple players and trap setters to participate simultaneously.
- Socket.io
- Express.JS
- pnpm (package management)