Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.26 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.26 KB

Payments Server

Technologies Used: Rust, Actix, PostgreSQL, Sqlx, JWT, Docker, Kafka

Dev Setup:

git clone https://github.com/Ashu999/payment_system.git
cd payment_system

docker-compose up --build db    # run postgress in docker

cargo test                      # run tests
cargo install sqlx-cli          # install sqlx-cli
sqlx database create            # create database at DATABASE_URL
sqlx migrate run                # apply mirgation

cargo run                       # run app locally (OR with watch mode: `cargo watch -x run`)

Docker Setup:

git clone https://github.com/Ashu999/payment_system.git
cd payment_system

docker-compose up --build

API Testing:

Import one of the collections (also contains input examples): Postman Collection (free) or Thunder Client (not free)

Also Checkout: API Documentation

This Project includes:

  • User APIs
  • Transaction APIs
  • Balance APIs
  • Auth using JWT
  • Rate Limiting
  • Data validation
  • Error handling
  • Logging
  • Health check
  • Dockerization
  • async/await
  • security middleware
  • unit, integration testing
  • CI/CD
  • Postgress notification
  • Webhook implementation