- chat_server
- notify_server
docker run -d \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_USER=postgres \
-p 5432:5432 \
--name mypostgres postgres
cargo install sqlx-cli --no-default-features --features rustls,postgres
pgcli
CREATE DATABASE chat;
sqlx migrate add initial
vi migrations/{timestamp}_initial.sql
sqlx migrate run
openssl genpkey -algorithm ed25519 -out ./fixtures/encoding.pem
openssl pkey -in ./fixtures/encoding.pem -pubout -out ./fixtures/decoding.pem