Skip to content

yesmanchyk/balance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. Create db_password.txt with desired PostgreSQL password
  2. docker compose up takes about 2.5 minutes to build actix-rest. Open http://localhost:8000/
  3. For the local debugging run in a separate terminal:
cd actix-rest
DB_HOST=localhost  DB_PASS_PATH=../db_password.txt cargo run

Local API is at http://localhost:8080/

  1. Decrement balance with curl -v -d 'fry@example.com' http://localhost:8080/thanks && echo
  2. docker run -it --rm --network balance_default postgres psql -h db -U postgres

Tasks

  • Liquibase users with balance
  • Postgres Docker Compose with Liquibase
  • Actix Web API
  • Transaction Concurrency Test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors