Skip to content

NiicooR/rl-challenge-api

Repository files navigation

Prerequisites

node: v18.12.1 npm: 8.19.2

In order to run this project copy the .env.sample file and place it into a .env file

Getting Started

yarn start

Improvements

  • Don't return entities ids from db
  • Init migration to load pools
  • Add test suite
  • Improve use of env var configuration

Api example

curl --location --request GET 'localhost:3001/deposit-history?tag=LINK' \
--header 'Content-Type: application/json' \
--data-raw '{
    "asset_address": "asset_address",
    "amount": "amount",
    "origin_address": "origin_address",
    "tag": "tag"
}'
curl --location --request GET 'localhost:3001/pool' \
--data-raw ''
curl --location --request POST 'localhost:3001/deposit' \
--header 'Content-Type: application/json' \
--data-raw '{
    "assetAddress": "assetAddress",
    "amount": "amount",
    "originAddress": "origin_address",
    "tag": "tag"
}
'

About

About Tech Challenge Rather Labs API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published