Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

💸 Exchange Bank App 💸

The Exchange Banking API is a feature-rich and real-time currency exchange platform. It enables users to create custom accounts, perform currency exchanges, and experience seamless banking operations powered by real-time data from the Narodowy Bank Polski API (NBP). All requests being made over HTTPS and returning JSON data. The App using SwiftUI and following an MV Pattern. View Screenshots

Rest

https://github.com/CANWIA00/exchangeBankAPI

API Reference

  • Base url: http://localhost:8080/v1/
  • All the endponints got secured with jwt token except Login and Register endpoints. So need to send also jwt token all the time via header.

Authentication

Request Type Path Description
POST /auth/register To register to app
POST /exchange/login To login to app

User

Request Type Path Description
GET /user Get user details

Account

Request Type Path Description
POST /acount/pln To create pln account when you register to app first
POST /account Create an account with foreign currency
GET /account/{id} Get account using by id
GET /account/user Get all accounts using by user id via jwt token
DELETE /account/{id} Delete account using by account id
PATCH /account/{id} Add money to account using by account id

Exchange

Request Type Path Description
GET /exchange Get all exchanges using by user id via jwt token [History]
POST /exchange Make an exchange between two diferent account
GET /exchange/{id} Get exchange details using by id
GET /exchange/account/{id} Get all exchange details using by account id [History]

Currency

All currency rates are up to date. // https://api.nbp.pl/
Request Type Path Description
GET /currency/table Get all currency rates
GET /currency/table/period/{id} Get currency rates for 1 month
GET /currency/id/{id} Get currency using by id

Launch the API on your device and navigate to the Swagger documentation endpoint to explore the available requests and responses.

http://localhost:8080/swagger-ui/index.html#/

Screenshots

Login - Registration

drawing drawing

Home

drawing drawing

Account

drawing drawing drawing drawing

Exchange

drawing drawing drawing

History

drawing drawing

About

The Exchange Banking App is a secure, real-time currency exchange platform using data from the Narodowy Bank Polski API (NBP). It supports custom accounts, currency exchanges, and returns JSON responses over HTTPS. The app, built with SwiftUI and the MV Pattern, offers a seamless, user-friendly interface for banking operations.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages