Skip to content

PlayRoom is a collection of mini-games, designed for fun with friends.

Notifications You must be signed in to change notification settings

angelchavez19/play-room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aquí tienes la traducción al inglés:

PlayRoom

PlayRoom is a collection of interactive mini-games developed with Vue.js and NestJS, designed for having fun with friends.

Table of Contents

Features

  • 🛠️ 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.

🎮 Included Games

  • Rock, Paper, Scissors
  • Tic-Tac-Toe.

Technologies

The project uses the following technologies:

  • Frontend
    • Vue.js - Progressive framework for building user interfaces.
  • Backend
    • NestJS - Backend framework based on Node.js.

Installation

Follow these steps to clone and install the project:

  1. Clone the repository:

    git clone https://github.com/angelchavez19/play-room.git
  2. Access the project directory:

    cd playroom
  3. Install the frontend dependencies:

    cd frontend
    npm install
  4. Install the backend dependencies:

    cd ../backend
    npm install
  5. 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>
    

Usage

Running the Frontend (Vue.js)

To start the development server for the frontend:

cd frontend
npm run dev

The development server will be running at http://localhost:5173.

Running the Backend (NestJS)

To start the backend server:

cd backend
npm run start

The NestJS server will be running at http://localhost:8000.

About

PlayRoom is a collection of mini-games, designed for fun with friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published