Skip to content

amrHassanAbdallah/tahweelaway

Repository files navigation

Tahweelaway

Centralized place to control your money

Moving money from your bank account to your friends.

Getting started

Manually

  1. install golang, golang-migrate, sqlc
  2. start a postgresql instance locally
  3. migrate the db (make sure to replace the values in the connection string with yours)
    $ migrate -path persistence/migration -database "postgresql://root:secret@localhost:5432/tahweelaway?sslmode=disable" -verbose up
    
  4. run the app
     $ make generate
     $ make build
     $ ./bin/app --postgresql-connection=postgresql://root:secret@localhost:5432/tahweelaway?sslmode=disable
    

Using docker-compose

  1. make sure that you have docker, docker-compose installed
  2. run
    $ docker-compose up
    

Check the API

Use this file content and paste it inside this viewer

Features

  • Authorize user
  • Create user
  • Get user
  • Create bank
  • List banks
  • Transfer from bank to account
  • Transfer from account to account
  • List transfers
  • Refactor transfer domain to contain the currency

Maybe will add more depending on this design document

About

Moving money from your bank account to your friends.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published