This project is about to create a website where we can play pong with some friends. We used nestjs, vuejs, postgresql and docker. To run the project you need to create .env file (can be created with set_env_file.sh script).
Clone the project:
$ git clone [email protected]:tsiguenz/ft_transcendence.git && cd ft_transcendence
Build:
$ make
Stop the containers:
$ make stop
Delete the containers/volumes:
$ make down
Delete all the dockers elements (volumes/network/containers/images/cache):
$ make rma
Rebuilt (<=> make down + make):
$ make re
flowchart BT
host[HOST]
back(nestjs\nbackend)
front(vuejs\nfrontend)
db(posgres\ndatabase)
vol_back[(backend)]
vol_front[(frontend)]
vol_db[(database)]
back .- 3030:3000 .-> host
front .- 5173:8080 .-> host
subgraph Docker network
db & back & front
end
subgraph Docker volume
vol_db <--> db
end
vol_back <--> back
vol_back <--> host
vol_front <--> front
vol_front <--> host