Skip to content

Commit

Permalink
feat(backend): funkit integration (#95)
Browse files Browse the repository at this point in the history
* feat: funkit endpoints

* refactor: env injection

* chore: cleanup

* chore: cleanup

* refactor: switch to funkit prod endpoint

* tooling: reinstall deps with pnpm 8

* chore: split out endpoints

* remove usdcBalance from tests

* chore(backend): add tests for funkit routes

---------

Co-authored-by: Chqrles <[email protected]>
  • Loading branch information
chloe-tan and 0xChqrles authored Jul 3, 2024
1 parent 25d26ea commit 866e29c
Show file tree
Hide file tree
Showing 15 changed files with 1,337 additions and 665 deletions.
3 changes: 3 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
TWILIO_AUTH_TOKEN=""
TWILIO_ACCOUNT_SSID=""
TWILIO_PHONE_NUMBER=""
TWILIO_SERVICE_ID=""
TEST_PHONE_NUMBER=""

DATABASE_URL=""
Expand All @@ -13,3 +14,5 @@ SN_NETWORK=""

DEPLOYER_ADDRESS=""
DEPLOYER_PK=""

FUNKIT_API_KEY=""
2 changes: 2 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"devDependencies": {
"@testcontainers/postgresql": "^10.8.1",
"@types/big.js": "^6.2.2",
"@types/otp-generator": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@vitest/coverage-istanbul": "^1.4.0",
Expand All @@ -35,6 +36,7 @@
"typescript": "^5.0.0"
},
"dependencies": {
"big.js": "^6.2.1",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.30.7",
"elliptic": "^6.5.5",
Expand Down
Loading

0 comments on commit 866e29c

Please sign in to comment.