GitHub repository: vic778/crypto-backend
Primary language: Ruby
Description: crypto-API project that for now I documented with Rswag. In a simple world, it implemented the coin API where a user can fetch different endpoints and my schema had some tables to store the transactions of a user. So it has the before action to check the balance of the current_user before sending the transaction. If the balance is less than the amount passing in the params it will throw a specific error. If the receiver id is not in the Db the action can not be taken. Otherwise, the query will be sent and the Mailer will deliver a Notification email to both users. The sender and the receiver.This API