Aquí tienes la traducción al inglés:
PlayRoom is a collection of interactive mini-games developed with Vue.js and NestJS, designed for having fun with friends.
- 🛠️ Frontend developed with Vue.js.
- 🌐 Backend using NestJS.
- ⚡ Real-time connection (if applicable, using websockets or similar).
- 🔧 Modular architecture for adding more games in the future.
- Rock, Paper, Scissors
- Tic-Tac-Toe.
The project uses the following technologies:
- Frontend
- Vue.js - Progressive framework for building user interfaces.
- Backend
- NestJS - Backend framework based on Node.js.
Follow these steps to clone and install the project:
-
Clone the repository:
git clone https://github.com/angelchavez19/play-room.git
-
Access the project directory:
cd playroom
-
Install the frontend dependencies:
cd frontend npm install
-
Install the backend dependencies:
cd ../backend npm install
-
Environment variables configuration
#Database DATABASE_URL="postgresql://postgres:@localhost:5432/playroom" # Server SERVER_BACKEND=http://localhost:8000 SERVER_FRONTEND=http://localhost:5173 # Email EMAIL_HOST=smtp.gmail.com EMAIL_PORT=587 EMAIL_HOST_USER=<your-email-host-user> EMAIL_HOST_PASSWORD=<your-email-host-password> # Google Credentials GOOGLE_CLIENT_ID=<client-id> GOOGLE_CLIENT_SECRET=<client-secret> # SECRETS JWT_SECRET_KEY=<secret-key>
To start the development server for the frontend:
cd frontend
npm run dev
The development server will be running at http://localhost:5173
.
To start the backend server:
cd backend
npm run start
The NestJS server will be running at http://localhost:8000
.