Skip to content

MCanhisares/chessbicos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess 2.0 - Server

Project using Rust and gRPC for a Chess server.

Build db docker

docker run --name postgres -d -p 5432:5432 -e POSTGRES_PASSWORD=admin postgres

Manually connect to DB

docker exec -it postgres bash
psql -U postgres

Build project docker

docker build -t chessbicos .
docker run -it --network=host --name chessbicos chessbicos

Clean-up Docker

docker kill postgres
docker container rm postgres
docker kill chessbicos
docker image rm -f chessbicos
docker container rm chessbicos

Generate Entities

sea-orm-cli generate entity \
    -u postgres://postgres:admin@localhost:5432/postgres\?sslmode=disable \
    -o entity/src

Database schema

https://dbdocs.io/marcel.canhisares/Chessbicos

About

ChessBic but in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published