Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eduardolagoeiro/my-card-game-server

A card game server
https://github.com/eduardolagoeiro/my-card-game-server

expressjs nodejs socket-io

Last synced: 19 days ago
JSON representation

A card game server

Awesome Lists containing this project

README

        

# Card Game Server

## running
```
docker-compose up app
```

## testing
```
docker-compose run app npm run test [testFileName]
```

## debug test
run
```
docker-compose run --service-ports app npm run test [testFileName]
```
attach in node port 9229

in vscode you can create a .vscode/launch.json and run
```
{
"configurations": [
{
"name": "Attach to Docker Node Process",
"type": "node",
"protocol": "inspector",
"request": "attach",
"stopOnEntry": false,
"port": 9229,
"localRoot": "${workspaceRoot}",
"remoteRoot": "/app",
"sourceMaps": true
}
]
}
```