POST /api/v1/wallet
- сreate wallet
POST /api/v1/wallet/:walletId/send
- transcations
GET /api/v1/wallet/:walletId/history
- history
GET /api/v1/wallet/:walletId
- status
a - ip for REST -a=host
d - db connection string -d=connection string
s - salt -s=your_salt
{
"host": "localhost:8080",
"dsn": "postgres://bestuser:bestuser@localhost:5432/your_db_name?sslmode=disable",
"salt": "your_salt"
}
-Build postgres
docker run --name ewallet-pg -p 4999:5432 -e POSTGRES_USER=username -e POSTGRES_PASSWORD=password -e POSTGRES_DB=db_name -d postgres:13.3
-Run
docker run --name your-app-name -p host-port:container-port -d your-app-image