Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leocodeio/tic-tac-toe
Tic-Tac-Toe game with react, node, websocket with docker and implemeted real time game where users and enter their nick name and start to play
https://github.com/leocodeio/tic-tac-toe
docker node react socket
Last synced: about 2 months ago
JSON representation
Tic-Tac-Toe game with react, node, websocket with docker and implemeted real time game where users and enter their nick name and start to play
- Host: GitHub
- URL: https://github.com/leocodeio/tic-tac-toe
- Owner: leocodeio
- Created: 2024-07-15T04:51:42.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-24T11:40:15.000Z (about 2 months ago)
- Last Synced: 2024-11-24T12:27:25.525Z (about 2 months ago)
- Topics: docker, node, react, socket
- Language: JavaScript
- Homepage:
- Size: 909 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## frontend
```
cd frontend
cp .env.example .env
npm i -g pnpm
pnpm install
pnpm start
```## backend
```
cd backend
cp .env.example .env
npm i -g pnpm
pnpm install
pnpm start
```### DOCKER IMPLEMENTATION
#### Individual Services
go to /frontend
```
docker build -t fe-image .
docker run -p 3000:3000 fe-image
```you can access the frontend at http://localhost:3000
go to /backend
```
docker build -t be-image .
docker run -p 3001:3001 be-image
```you can access the backend at http://localhost:3001
#### All Services
```
docker compose up -d
```