About Esad Yusuf Atik - bounswe/bounswe2023group3 GitHub Wiki

About Me

Hi everyone! I'm Esad. I'm a computer engineering student at Boğaziçi University. I'm also co-founder of Chainway, a web3 venture builder. I usually develop Smart Contracts for EVM blockchains and work on backend stuff.

Skills

  • Python
  • JavaScript / TypeScript
  • Solidity
  • Rust
  • SQL Databases

Contact

Sample Bitcoin App

Issues

Subapp Issue

### Third Party API Routes

  • GET Bitcoin Price: /bitcoin-price
    • Used for querying the current Bitcoin price.
    • Uses Binance Cryptocurrency Exchange's API to retreive price.

API Routes

  • POST Order: /
    • Used for creating an order for Bitcoin
  • GET Orders: /orders
    • Used for getting orders in the database

Unit Tests

  • Set Up
    • Creates two different Bitcoin orders
  • Get Orders
    • Queries all orders and checks the fields were properly set

Sample Calls

  • POST Order
    • Form data inside request
{
   "price": 27000.23,
   "quantity": 0.01,
   "side": "buy",
   "type": "limit"
}
  • Response redirects back to the same page

  • GET Price

    • No request paramaters
    • Response as JSON
{
   "price": 27000.23,
}
  • GET Orders
    • No request parameters
    • Response as JSON
{
    "symbol": "BTCUSD",
    "price": 27000.23,
    "quantity": 0.01,
    "side": "buy",
    "type": "limit"
}

Challenges

None. As this was a simple mock order management subapp.