Bughouse Server

This README will guide you through setting up and running the bughouse-server project.

Before you begin, ensure you have met the following requirements:

Node.js (version 14 or later) npm (version 6 or later)

Installation

Clone the repository to your local machine:

git clone https://github.com/crazyads69/bughouse-server.git

Navigate to the project directory:

cd bughouse-server

Install the dependencies:

npm install

Running the Project

To start the project, you can use the provided scripts. Below are the main scripts used to run different parts of the application:

Starting the User Server

To start the user server with nodemon for auto-reloading, run:

npm run start-user

Starting the Admin Server

To start the admin server with nodemon for auto-reloading, run:

npm run start-admin

Running the Cron Job

To start the cron job with nodemon for auto-reloading, run:

npm run cronjob

account 1: tk : canhcutcon mk: 123456789

acc2

tk: yonedoan mk: 123456789